diff options
author | tv <tv@krebsco.de> | 2019-01-05 20:16:17 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2019-01-05 20:16:17 +0100 |
commit | 6e5a61b676eea8a066be7848e2a879f57f2c0c4a (patch) | |
tree | 1c180b49a69c93bf7a8eaa4138db6320273d5ae9 /krebs/3modules | |
parent | 45359e7db5ec7fe9e33624e15e362c2b9e6ef9d9 (diff) |
per-user module: enable only if configured
Diffstat (limited to 'krebs/3modules')
-rw-r--r-- | krebs/3modules/per-user.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/krebs/3modules/per-user.nix b/krebs/3modules/per-user.nix index a7a07a8e6..5beb859aa 100644 --- a/krebs/3modules/per-user.nix +++ b/krebs/3modules/per-user.nix @@ -13,7 +13,7 @@ in { }); default = {}; }; - config = { + config = mkIf (cfg != {}) { environment = { etc = mapAttrs' |