replaced isThinInstallation with isThinUser

added util folder
This commit is contained in:
Leyla Becker 2024-09-03 01:27:10 -05:00
parent 0e58bc282b
commit 30fb7851ac
5 changed files with 19 additions and 13 deletions

8
util/default.nix Normal file
View file

@ -0,0 +1,8 @@
{ lib, ... }:
{
mkUnless = condition: then: (mkIf (!condition) then);
mkIfElse = condition: then: else: lib.mkMerge [
(mkIf condition then)
(mkUnless condition else)
];
}