summaryrefslogtreecommitdiffstats
path: root/krebs/3modules/per-user.nix
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2019-01-16 11:17:20 +0100
committerlassulus <lassulus@lassul.us>2019-01-16 11:17:20 +0100
commit879b6d319a18dce6e5f686c997643c78229469a8 (patch)
treec21b0eef944b80adecb7d95aa79ba4a475ef6dd1 /krebs/3modules/per-user.nix
parenta1d9c22bbd8eff9198f378e9007ddf4cb9ee2e5c (diff)
parent2d2ab95f0707209c4c248d43cb57877a50a37991 (diff)
Merge remote-tracking branch 'ni/master'
Diffstat (limited to 'krebs/3modules/per-user.nix')
-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'