A new start
This commit is contained in:
commit
f4e2368893
93 changed files with 7621 additions and 0 deletions
17
modules/darwin/services/nix-daemon/default.nix
Normal file
17
modules/darwin/services/nix-daemon/default.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
{ lib, config, ... }:
|
||||
|
||||
let
|
||||
inherit (lib) types mkIf;
|
||||
inherit (lib.metacfg) mkOpt enabled;
|
||||
|
||||
cfg = config.metacfg.services.nix-daemon;
|
||||
in
|
||||
{
|
||||
options.metacfg.services.nix-daemon = {
|
||||
enable = mkOpt types.bool true "Whether to enable the Nix daemon.";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
services.nix-daemon = enabled;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue