replaced isThinInstallation with isThinUser
added util folder
This commit is contained in:
parent
0e58bc282b
commit
30fb7851ac
5 changed files with 19 additions and 13 deletions
8
util/default.nix
Normal file
8
util/default.nix
Normal file
|
@ -0,0 +1,8 @@
|
|||
{ lib, ... }:
|
||||
{
|
||||
mkUnless = condition: then: (mkIf (!condition) then);
|
||||
mkIfElse = condition: then: else: lib.mkMerge [
|
||||
(mkIf condition then)
|
||||
(mkUnless condition else)
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue