diff options
author | Jasper Ras <jras@hostnet.nl> | 2025-02-03 21:56:21 +0100 |
---|---|---|
committer | Jasper Ras <jras@hostnet.nl> | 2025-02-03 21:58:17 +0100 |
commit | fa83bdc5067417e3407241b17116a560c9d86b61 (patch) | |
tree | 187fe6802049fceeadb3e6fe3bf4c33579625530 /configuration/snorlax/default.nix | |
parent | 91bd5252699ca471fa33defda502558864cdaff0 (diff) |
move around alot of stuff
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; + }; +} |