fix a whole lot of stupid

This commit is contained in:
Gerg-L 2024-08-16 23:35:34 -04:00
parent e30687954a
commit 1b8059b2e1
Signed by: gerg-l
SSH key fingerprint: SHA256:FPYDHIkvMocr4wdmZXpgpJjsb2Tw6rASs2ISPbOb0KI
5 changed files with 40 additions and 68 deletions

View file

@ -45,14 +45,10 @@
extraGroups = [ "networkmanager" ];
initialHashedPassword = "";
};
"root" = {
uid = 0;
home = "/root";
openssh.authorizedKeys.keys = [
config.local.keys.gerg_gerg-phone
config.local.keys.gerg_gerg-windows
config.local.keys.gerg_gerg-desktop
];
root = {
openssh.authorizedKeys.keys = builtins.attrValues {
inherit (config.local.keys) gerg_gerg-phone gerg_gerg-windows gerg_gerg-desktop;
};
hashedPasswordFile = config.sops.secrets.root.path;
};
};