migrate to nixos modules
This commit is contained in:
@@ -4,23 +4,27 @@
|
||||
imports =[
|
||||
./hardware-configuration.nix
|
||||
../../common/common.nix
|
||||
../../common/boot/bios.nix
|
||||
../../common/boot/luks.nix
|
||||
../../common/server/nginx.nix
|
||||
];
|
||||
|
||||
# cuxhh3ei2djpgf2zdkboceuhaxavgr3ipu3d7a2swx4giy2wosfxspyd.onion
|
||||
|
||||
boot.loader.grub.device = "/dev/vda";
|
||||
networking.hostName = "mitty";
|
||||
boot.initrd.luks.devices.enc-pv.device = "/dev/disk/by-uuid/6dcf23ea-cb5e-4329-a88b-832209918c40";
|
||||
nix.flakes.enable = true;
|
||||
|
||||
bios = {
|
||||
enable = true;
|
||||
device = "/dev/vda";
|
||||
};
|
||||
|
||||
luks = {
|
||||
enable = true;
|
||||
device.path = "/dev/disk/by-uuid/6dcf23ea-cb5e-4329-a88b-832209918c40";
|
||||
};
|
||||
|
||||
networking.hostName = "mitty";
|
||||
|
||||
networking.wireless.enable = false;
|
||||
networking.useDHCP = false;
|
||||
networking.interfaces.ens3.useDHCP = true;
|
||||
|
||||
security.acme.acceptTerms = true;
|
||||
security.acme.email = "letsencrypt+5@tar.ninja";
|
||||
|
||||
nix.flakes.enable = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user