diff options
Diffstat (limited to 'configuration/snorlax/default.nix')
-rw-r--r-- | configuration/snorlax/default.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/configuration/snorlax/default.nix b/configuration/snorlax/default.nix new file mode 100644 index 0000000..8ed9169 --- /dev/null +++ b/configuration/snorlax/default.nix @@ -0,0 +1,22 @@ +{ ... }: +{ + imports = [ + ./disk-config.nix + ./gitea.nix + ../users + ]; + + networking.hostName = "snorlax"; + system.stateVersion = "24.11"; + + programs.mtr.enable = true; + services.openssh = { + enable = true; + allowSFTP = false; + settings = { + PermitRootLogin = "no"; + AllowUsers = [ "jras" ]; + }; + openFirewall = true; + }; +} |