diff options
author | lassulus <lass@aidsballs.de> | 2016-03-23 13:45:06 +0100 |
---|---|---|
committer | lassulus <lass@aidsballs.de> | 2016-03-23 13:45:06 +0100 |
commit | 18d0cc3048243d15cf6108ccd05d62390ecf5503 (patch) | |
tree | a4ac576b886b61a812706fc6738b09dd56e9d7be /lass/2configs | |
parent | e7c6d97f7cfd743f1dc6ad5cf4883daebc20d5ca (diff) |
l 2 websites domsen: add domsen user
Diffstat (limited to 'lass/2configs')
-rw-r--r-- | lass/2configs/websites/domsen.nix | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/lass/2configs/websites/domsen.nix b/lass/2configs/websites/domsen.nix index 109c216c0..895146d25 100644 --- a/lass/2configs/websites/domsen.nix +++ b/lass/2configs/websites/domsen.nix @@ -1,6 +1,8 @@ { config, pkgs, ... }: -{ +let + inherit (config.krebs.lib) genid; +in { imports = [ ../../3modules/static_nginx.nix ../../3modules/owncloud_nginx.nix @@ -26,6 +28,15 @@ rootPassword = toString (<secrets/mysql_rootPassword>); }; + users.users.domsen = { + uid = genid "domsen"; + description = "maintenance acc for domsen"; + home = "/home/domsen"; + useDefaultShell = true; + extraGroups = [ "nginx" ]; + createHome = true; + }; + #lass.wordpress = { # "ubikmedia.de" = { # }; |