mirror of
https://github.com/kaesaecracker/nixos-configuration.git
synced 2025-01-18 18:40:14 +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)
|
|
];
|
|
}
|