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