diff options
author | makefu <github@syntax-fehler.de> | 2015-12-26 10:51:18 +0100 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2015-12-26 10:51:18 +0100 |
commit | ed4db71add7e279625e70be915b0cec47eb6be3e (patch) | |
tree | 195624e743f9e5e6bcc7c2ad2f5c66b00c08a3d7 /krebs/3modules/Reaktor.nix | |
parent | cef2be532b0cc76071b0b3515fc71214b37591f0 (diff) | |
parent | 763f0db52ad45eef6e09d7982cd0f6cd898857e3 (diff) |
Merge remote-tracking branch 'cd/master'
Diffstat (limited to 'krebs/3modules/Reaktor.nix')
-rw-r--r-- | krebs/3modules/Reaktor.nix | 20 |
1 files changed, 4 insertions, 16 deletions
diff --git a/krebs/3modules/Reaktor.nix b/krebs/3modules/Reaktor.nix index d219d1800..59058bffc 100644 --- a/krebs/3modules/Reaktor.nix +++ b/krebs/3modules/Reaktor.nix @@ -1,19 +1,8 @@ -{ config, pkgs,lib, ... }: - +{ config, lib, pkgs, ... }: +with lib; let - inherit (lib) - mkIf - mkOption - types - singleton - isString - optionalString - concatStrings - escapeShellArg - ; - ReaktorConfig = pkgs.writeText "config.py" '' ${if (isString cfg.overrideConfig ) then '' # Overriden Config @@ -94,10 +83,9 @@ let imp = { # for reaktor get-config - users.extraUsers = singleton { + users.extraUsers = singleton rec { name = "Reaktor"; - # uid = config.ids.uids.Reaktor; - uid = 2066439104; #genid Reaktor + uid = genid name; description = "Reaktor user"; home = cfg.workdir; createHome = true; |