Files
nix-config/hosts/thonkpad/configuration.nix

52 lines
1.1 KiB
Nix

{
config,
pkgs,
lib,
...
}: {
imports = [
./hardware-configuration.nix
../../system/system.nix
../meta.nix
];
config = {
networking.hostName = "thonkpad"; # Define your hostname.
res = "1366x768";
# age = {
# secrets = {
# zsh_remote = {
# file = ../../secrets/zsh_remote.age;
# owner = "synchronous";
# mode = "0400";
# };
# tailscale-rq = {
# file = ../../secrets/tailscale-rq.age;
# owner = "synchronous";
# mode = "0400";
# };
# ssh-pub = {
# file = ../../secrets/ssh-pub.age;
# owner = "synchronous";
# mode = "0400";
# };
# };
# secretsDir = "/home/synchronous/.agenix/agenix";
# secretsMountPoint = "/home/synchronous/.agenix/agenix.d";
# identityPaths = ["/home/synchronous/.ssh/id_ed25519"];
# };
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
backupFileExtension = "hm-backup";
users.synchronous.imports = [../../home/home.nix];
};
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.loader.grub.enable = false;
};
}