summaryrefslogtreecommitdiffstats
path: root/krebs/3modules
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2019-01-05 20:16:17 +0100
committertv <tv@krebsco.de>2019-01-05 20:16:17 +0100
commit6e5a61b676eea8a066be7848e2a879f57f2c0c4a (patch)
tree1c180b49a69c93bf7a8eaa4138db6320273d5ae9 /krebs/3modules
parent45359e7db5ec7fe9e33624e15e362c2b9e6ef9d9 (diff)
per-user module: enable only if configured
Diffstat (limited to 'krebs/3modules')
-rw-r--r--krebs/3modules/per-user.nix2
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'