remove root_password secret, is dup of root.passwd

Daniel Barlow 2024-02-11 09:10:03 +00:00
parent f2fa92b5f7
commit 0774b1798b
3 changed files with 5 additions and 5 deletions

View File

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

View File

@ -131,6 +131,6 @@ in rec {
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];
}

View File

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