forked from dan/liminix
remove root_password secret, is dup of root.passwd
This commit is contained in:
parent
7c196bf9b4
commit
a8c6d5d8a4
@ -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")
|
||||||
# ];
|
# ];
|
||||||
|
@ -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];
|
||||||
}
|
}
|
||||||
|
@ -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";
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user