diff --git a/nixos/machines/nyarlathotep/hardware-configuration.nix b/nixos/machines/nyarlathotep/hardware-configuration.nix index 078d8e1..bc541e1 100644 --- a/nixos/machines/nyarlathotep/hardware-configuration.nix +++ b/nixos/machines/nyarlathotep/hardware-configuration.nix @@ -2,7 +2,7 @@ imports = [ ]; boot.initrd.availableKernelModules = - [ "ata_piix" "sr_mod" "xen_bklfront" ]; + [ "ata_piix" "sr_mod" "xen_blkfront" ]; boot.kernelModules = [ ]; boot.extraModulePackages = [ ]; diff --git a/nixos/machines/nyarlathotep/network.nix b/nixos/machines/nyarlathotep/network.nix index 3641375..b5389eb 100644 --- a/nixos/machines/nyarlathotep/network.nix +++ b/nixos/machines/nyarlathotep/network.nix @@ -5,7 +5,7 @@ imports = [ ]; networking = { interfaces.enX0.ipv4.addresses = [ { - addresses = "192.168.0.28"; + address = "192.168.0.28"; prefixLength = 16; } ]; defaultGateway = "192.168.0.155"; diff --git a/nixos/roles/nix_keys.nix b/nixos/roles/nix_keys.nix new file mode 100644 index 0000000..af3f21d --- /dev/null +++ b/nixos/roles/nix_keys.nix @@ -0,0 +1,4 @@ +{lib, ...} : + nix.settings.trusted-public-keys = [ + "nerflap2-1:pDZCg0oo9PxNQxwVSQSvycw7WXTl53PGvVeZWvxuqJc=" + ];