prepare configuration for server use
This commit is contained in:
parent
db67663eb6
commit
e65ba7c8a6
12 changed files with 188 additions and 7 deletions
7
helpers/default.nix
Normal file
7
helpers/default.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{lib, ...}: {
|
||||
mkIfElse = p: yes: no:
|
||||
lib.mkMerge [
|
||||
(mkIf p yes)
|
||||
(mkIf (!p) no)
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue