diff options
| author | schererleander <leander@schererleander.de> | 2026-01-09 16:57:15 +0100 |
|---|---|---|
| committer | schererleander <leander@schererleander.de> | 2026-01-09 23:13:49 +0100 |
| commit | 3b5a73c436eb22e0cda59469263490705e149cb9 (patch) | |
| tree | ae3f20ca6008b11f71247dfc6e2df8218de9b95c /hosts/sachiel/configuration.nix | |
| parent | ec45aae780da92e12cf82c5a32e336b14b7540ba (diff) | |
refactor: use flake-parts, change modules structure
Diffstat (limited to 'hosts/sachiel/configuration.nix')
| -rw-r--r-- | hosts/sachiel/configuration.nix | 14 |
1 files changed, 11 insertions, 3 deletions
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; }; |
