Compare commits

..

2 Commits

Author SHA1 Message Date
coolneng 1de794889c
Specify the SSH key paths for agenix 2021-08-13 09:48:58 +01:00
coolneng f6b602349b
Replace hardware configuration file 2021-08-13 09:48:33 +01:00
2 changed files with 8 additions and 5 deletions

View File

@ -98,7 +98,10 @@
};
# Specify secrets
age.secrets.wireguard.file = secrets/wireguard.age;
age = {
secrets.wireguard.file = secrets/wireguard.age;
sshKeyPaths = ["/home/coolneng/.ssh/id_ed25519"];
};
# Import other configuration modules
imports = [

View File

@ -8,7 +8,7 @@
[ (modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "sd_mod" "rtsx_pci_sdmmc" ];
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "rtsx_pci_sdmmc" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
@ -33,7 +33,7 @@
fsType = "autofs";
};
fileSystems."/home" =
fileSystems."/home/coolneng" =
{ device = "syscea/stateful/home";
fsType = "zfs";
};
@ -49,12 +49,12 @@
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/4AED-6F54";
{ device = "/dev/disk/by-uuid/4851-6B40";
fsType = "vfat";
};
swapDevices =
[ { device = "/dev/disk/by-uuid/3403dce5-dfd2-42bc-9b38-58995c3fb93a"; }
[ { device = "/dev/disk/by-uuid/c8e252ac-941f-4290-8212-42c1bc2bff69"; }
];
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";