my nix dotfiles

nix/sini: fix initrd config

+10 -4
+10 -4
hosts/sini/configuration.nix
··· 28 28 services."wpa_supplicant@".unitConfig.DefaultDependencies = false; 29 29 30 30 users.root.shell = "/bin/systemd-tty-ask-password-agent"; 31 + network = { 32 + enable = true; 33 + networks."wifi" = { 34 + enable = true; 35 + DHCP = "yes"; 36 + name = interface; 37 + }; 38 + }; 39 + 31 40 }; 41 + 32 42 network = { 33 43 enable = true; 34 44 ssh = { ··· 36 46 port = 22; 37 47 authorizedKeys = [ "ssh-rsa AAAAyourpublic-key-here..." ]; 38 48 hostKeys = [ "/etc/secrets/initrd/ssh_host_rsa_key" ]; 39 - }; 40 - networks = { 41 - matchConfig.Name = interface; 42 - networkConfig.DHCP = "yes"; 43 49 }; 44 50 }; 45 51 };