mirror of
https://github.com/kaesaecracker/nixos-configuration.git
synced 2025-01-19 02:50:12 +01:00
8 lines
106 B
Nix
8 lines
106 B
Nix
|
{lib, ...}: {
|
||
|
mkIfElse = p: yes: no:
|
||
|
lib.mkMerge [
|
||
|
(mkIf p yes)
|
||
|
(mkIf (!p) no)
|
||
|
];
|
||
|
}
|