add mpro
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
This commit is contained in:
parent
dd3dd53e11
commit
5e2d3a6ce4
25 changed files with 665 additions and 20 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.plusultra) mkOpt enabled;
|
||||
|
||||
cfg = config.plusultra.services.nix-daemon;
|
||||
in
|
||||
{
|
||||
options.plusultra.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