1
0
forked from dan/liminix

remove root_password secret, is dup of root.passwd

This commit is contained in:
Daniel Barlow 2024-02-11 09:10:03 +00:00
parent 7c196bf9b4
commit a8c6d5d8a4
3 changed files with 5 additions and 5 deletions

View File

@ -145,7 +145,7 @@ in rec {
}; };
users.root = { users.root = {
passwd = lib.mkForce secrets.root_password; passwd = lib.mkForce secrets.root.passwd;
# openssh.authorizedKeys.keys = [ # openssh.authorizedKeys.keys = [
# (builtins.readFile "/home/dan/.ssh/id_rsa.pub") # (builtins.readFile "/home/dan/.ssh/id_rsa.pub")
# ]; # ];

View File

@ -131,6 +131,6 @@ in rec {
dependencies = [services.dhcpc]; dependencies = [services.dhcpc];
}; };
users.root.passwd = lib.mkForce secrets.root_password; users.root.passwd = lib.mkForce secrets.root.passwd;
defaultProfile.packages = with pkgs; [nftables strace tcpdump swconfig]; defaultProfile.packages = with pkgs; [nftables strace tcpdump swconfig];
} }

View File

@ -1,4 +1,4 @@
rec { {
wpa_passphrase = "you bring light in"; wpa_passphrase = "you bring light in";
l2tp = { l2tp = {
name = "abcde@a.1"; name = "abcde@a.1";
@ -10,9 +10,9 @@ rec {
openssh.authorizedKeys.keys = [ openssh.authorizedKeys.keys = [
]; ];
}; };
root_password = root.passwd;
lan = { lan = {
prefix = "10.8.0"; # "192.168.8"; prefix = "10.8.0";
}; };
} }