mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
made root user unable to be logged in to
This commit is contained in:
parent
3b2d407db1
commit
01c3c7b182
2 changed files with 3 additions and 8 deletions
|
|
@ -118,11 +118,7 @@
|
|||
"root" = {
|
||||
uid = 0;
|
||||
home = "/root";
|
||||
openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAuO/3IF+AjH8QjW4DAUV7mjlp2Mryd+1UnpAUofS2yA gerg@gerg-phone"
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILpYY2uw0OH1Re+3BkYFlxn0O/D8ryqByJB/ljefooNc gerg@gerg-windows"
|
||||
];
|
||||
passwordFile = config.sops.secrets.root.path;
|
||||
hashPassword = "!";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue