Add sudo, openssh, sysrq

This commit is contained in:
Linus Heckemann 2021-02-02 08:35:54 +01:00
parent 313b653330
commit b1ebf74fa6

View File

@ -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";
}