all repos — dotfiles @ 5674e47702a2c2b46d9df9ed4e363a61522b4cd3

my *nix dotfiles

nix/sini: fix initrd config
Anirudh Oppiliappan x@icyphox.sh
Fri, 05 Jul 2024 12:29:27 +0300
commit

5674e47702a2c2b46d9df9ed4e363a61522b4cd3

parent

1f0fec470d5458095f70e116da295ce007e0c5e7

1 files changed, 10 insertions(+), 4 deletions(-)

jump to
M hosts/sini/configuration.nixhosts/sini/configuration.nix

@@ -28,7 +28,17 @@ # prevent WPA supplicant from requiring `sysinit.target`.

services."wpa_supplicant@".unitConfig.DefaultDependencies = false; users.root.shell = "/bin/systemd-tty-ask-password-agent"; + network = { + enable = true; + networks."wifi" = { + enable = true; + DHCP = "yes"; + name = interface; + }; + }; + }; + network = { enable = true; ssh = {

@@ -36,10 +46,6 @@ enable = true;

port = 22; authorizedKeys = [ "ssh-rsa AAAAyourpublic-key-here..." ]; hostKeys = [ "/etc/secrets/initrd/ssh_host_rsa_key" ]; - }; - networks = { - matchConfig.Name = interface; - networkConfig.DHCP = "yes"; }; }; };