From fa83bdc5067417e3407241b17116a560c9d86b61 Mon Sep 17 00:00:00 2001 From: Jasper Ras Date: Mon, 3 Feb 2025 21:56:21 +0100 Subject: move around alot of stuff --- configuration/snorlax/default.nix | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 configuration/snorlax/default.nix (limited to 'configuration/snorlax/default.nix') 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; + }; +} -- cgit v1.2.3