per-user module: enable only if configured

This commit is contained in:
tv 2019-01-05 20:16:17 +01:00
parent 45359e7db5
commit 6e5a61b676

View File

@ -13,7 +13,7 @@ in {
});
default = {};
};
config = {
config = mkIf (cfg != {}) {
environment = {
etc =
mapAttrs'