tangled
alpha
login
or
join now
anirudh.fi
/
dotfiles
5
fork
atom
my nix dotfiles
5
fork
atom
overview
issues
pulls
pipelines
nix/sini: fix initrd config
anirudh.fi
2 years ago
5674e477
1f0fec47
+10
-4
1 changed file
expand all
collapse all
unified
split
hosts
sini
configuration.nix
+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
31
+
network = {
32
32
+
enable = true;
33
33
+
networks."wifi" = {
34
34
+
enable = true;
35
35
+
DHCP = "yes";
36
36
+
name = interface;
37
37
+
};
38
38
+
};
39
39
+
31
40
};
41
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
39
-
};
40
40
-
networks = {
41
41
-
matchConfig.Name = interface;
42
42
-
networkConfig.DHCP = "yes";
43
49
};
44
50
};
45
51
};