mirror of
https://forge.darkest.space/mara/nixos-configs.git
synced 2026-11-19 11:13:59 +01:00
make home manager optional
This commit is contained in:
parent
e65ba7c8a6
commit
69026cb461
1 changed files with 10 additions and 9 deletions
|
|
@ -1,7 +1,7 @@
|
|||
{lib, ...}: {
|
||||
mkIfElse = p: yes: no:
|
||||
lib.mkMerge [
|
||||
(mkIf p yes)
|
||||
(mkIf (!p) no)
|
||||
(lib.mkIf p yes)
|
||||
(lib.mkIf (!p) no)
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue