From 3b5a73c436eb22e0cda59469263490705e149cb9 Mon Sep 17 00:00:00 2001 From: schererleander Date: Fri, 9 Jan 2026 16:57:15 +0100 Subject: refactor: use flake-parts, change modules structure --- hosts/sachiel/configuration.nix | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'hosts/sachiel/configuration.nix') diff --git a/hosts/sachiel/configuration.nix b/hosts/sachiel/configuration.nix index 3944006..207447d 100644 --- a/hosts/sachiel/configuration.nix +++ b/hosts/sachiel/configuration.nix @@ -1,10 +1,12 @@ { pkgs, host, - username, ... }: +let + username = "administrator"; +in { imports = [ ./hardware-configuration.nix @@ -65,10 +67,16 @@ }; nx.server = { - openssh.enable = true; + openssh = { + enable = true; + allowedUsers = [ username ]; + }; fail2ban.enable = true; nginx.enable = true; - nextcloud.enable = true; + nextcloud = { + enable = true; + user = username; + }; site.enable = true; }; -- cgit v1.3.1