per-user module: enable only if configured
This commit is contained in:
parent
45359e7db5
commit
6e5a61b676
|
@ -13,7 +13,7 @@ in {
|
|||
});
|
||||
default = {};
|
||||
};
|
||||
config = {
|
||||
config = mkIf (cfg != {}) {
|
||||
environment = {
|
||||
etc =
|
||||
mapAttrs'
|
||||
|
|
Loading…
Reference in a new issue