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