first running config (fingers crossed)

This commit is contained in:
Dennis Frieberg 2023-09-22 19:36:48 +02:00
parent 10ec752fa6
commit fc1fb67061
Signed by: nerf
GPG key ID: 1EC6F5573876CC80
3 changed files with 6 additions and 2 deletions

View file

@ -2,7 +2,7 @@
imports = [ ]; imports = [ ];
boot.initrd.availableKernelModules = boot.initrd.availableKernelModules =
[ "ata_piix" "sr_mod" "xen_bklfront" ]; [ "ata_piix" "sr_mod" "xen_blkfront" ];
boot.kernelModules = [ ]; boot.kernelModules = [ ];
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];

View file

@ -5,7 +5,7 @@
imports = [ ]; imports = [ ];
networking = { networking = {
interfaces.enX0.ipv4.addresses = [ { interfaces.enX0.ipv4.addresses = [ {
addresses = "192.168.0.28"; address = "192.168.0.28";
prefixLength = 16; prefixLength = 16;
} ]; } ];
defaultGateway = "192.168.0.155"; defaultGateway = "192.168.0.155";

4
nixos/roles/nix_keys.nix Normal file
View file

@ -0,0 +1,4 @@
{lib, ...} :
nix.settings.trusted-public-keys = [
"nerflap2-1:pDZCg0oo9PxNQxwVSQSvycw7WXTl53PGvVeZWvxuqJc="
];