I just like having lists that show what's going on, and light redundancy doesn't bother me.
11 lines
232 B
Nix
11 lines
232 B
Nix
{ config, lib, pkgs, configFiles, ... }:
|
|
|
|
with lib;
|
|
|
|
{
|
|
options.myModules.do-agent.enable = mkEnableOption "custom do-agent configuration";
|
|
|
|
config = mkIf config.myModules.do-agent.enable {
|
|
services.do-agent.enable = true;
|
|
};
|
|
}
|