Add sudo, openssh, sysrq
This commit is contained in:
parent
313b653330
commit
b1ebf74fa6
@ -11,5 +11,18 @@
|
||||
programs.mosh.enable = true;
|
||||
boot.zfs.extraPools = ["bold"];
|
||||
boot.supportedFilesystems = ["zfs"];
|
||||
boot.kernel.sysctl."kernel.sysrq" = 1;
|
||||
|
||||
services.openssh.enable = true;
|
||||
networking.firewall.rejectPackets = true;
|
||||
|
||||
users.users = {
|
||||
root.openssh.authorizedKeys.keyFiles = [ ./linus.pub ];
|
||||
linus = {
|
||||
isNormalUser = true;
|
||||
extraGroups = ["wheel"];
|
||||
openssh.authorizedKeys.keyFiles = [ ./linus.pub ];
|
||||
};
|
||||
};
|
||||
system.stateVersion = "20.09";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user