Remove SSH access to root user
This commit is contained in:
parent
c621d70c9c
commit
0aa1724bba
|
@ -88,13 +88,8 @@
|
|||
shell = pkgs.fish;
|
||||
};
|
||||
|
||||
# Set shell and SSH for root user
|
||||
users.users.root = {
|
||||
shell = pkgs.fish;
|
||||
openssh.authorizedKeys.keys = [''
|
||||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBvnfIsxGZWh+tU7OI60Tw3CyT+q3ghoETfRyWsXhioZ coolneng@panacea
|
||||
''];
|
||||
};
|
||||
# Set shell for root user
|
||||
users.users.root.shell = pkgs.fish;
|
||||
|
||||
# Auto-upgrade the system
|
||||
system.autoUpgrade = {
|
||||
|
|
Loading…
Reference in New Issue