more tidying in hosts/hades
This commit is contained in:
parent
f57c3d9f93
commit
3a442ee18d
2 changed files with 29 additions and 2 deletions
|
|
@ -153,7 +153,7 @@
|
||||||
musnix.nixosModules.musnix
|
musnix.nixosModules.musnix
|
||||||
disko.nixosModules.disko
|
disko.nixosModules.disko
|
||||||
sops-nix.nixosModules.sops
|
sops-nix.nixosModules.sops
|
||||||
./hosts/hades/configuration.nix
|
./hosts/hades/default.nix
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,7 @@
|
||||||
imports = [
|
imports = [
|
||||||
|
|
||||||
## Host specific config files
|
## Host specific config files
|
||||||
|
./hardware-configuration.nix
|
||||||
./modules
|
./modules
|
||||||
|
|
||||||
## Shared 'core' config options
|
## Shared 'core' config options
|
||||||
|
|
@ -11,6 +12,32 @@
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
||||||
|
## ## ## ## ##
|
||||||
|
|
||||||
|
boot = {
|
||||||
|
|
||||||
|
kernelPackages = pkgs.linuxPackages_latest;
|
||||||
|
|
||||||
|
supportedFilesystems = [ "vfat" "ext4" ];
|
||||||
|
|
||||||
|
loader.grub = {
|
||||||
|
enable = true;
|
||||||
|
device = "/dev/nvme0n1";
|
||||||
|
enableCryptodisk = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
initrd.luks.devices = {
|
||||||
|
root = {
|
||||||
|
# Use https://nixos.wiki/wiki/Full_Disk_Encryption
|
||||||
|
device = "/dev/disk/by-uuid/5526aab7-b779-4fc8-95bd-9452bc3a9232";
|
||||||
|
preLVM = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
## ## ## ## ##
|
||||||
|
|
||||||
## ooh, hostname - this one's important!
|
## ooh, hostname - this one's important!
|
||||||
networking.hostName = "hades";
|
networking.hostName = "hades";
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue