From fc1fb670612778337b2a24eba12149bd2d90e06f Mon Sep 17 00:00:00 2001 From: Dennis Frieberg Date: Fri, 22 Sep 2023 19:36:48 +0200 Subject: [PATCH] first running config (fingers crossed) --- nixos/machines/nyarlathotep/hardware-configuration.nix | 2 +- nixos/machines/nyarlathotep/network.nix | 2 +- nixos/roles/nix_keys.nix | 4 ++++ 3 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 nixos/roles/nix_keys.nix 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=" + ];