nixos-configuration/helpers/default.nix

8 lines
114 B
Nix
Raw Normal View History

2023-09-10 14:12:01 +02:00
{lib, ...}: {
mkIfElse = p: yes: no:
lib.mkMerge [
2023-09-11 18:46:47 +02:00
(lib.mkIf p yes)
(lib.mkIf (!p) no)
2023-09-10 14:12:01 +02:00
];
}