diff --git a/configuration.nix b/configuration.nix index 11706bd..ac975fc 100644 --- a/configuration.nix +++ b/configuration.nix @@ -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"; }