diff options
Diffstat (limited to 'hosts/sachiel')
| -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; }; |
