diff options
| author | Soispha Peetz <soispha@b-peetz.de> | 2026-11-26 01:11:40 +0100 |
|---|---|---|
| committer | Soispha Peetz <soispha@b-peetz.de> | 2026-11-27 00:55:53 +0100 |
| commit | 178cce63384be3291d835d293f29267984fe5fd5 (patch) | |
| tree | 784f4c6bbdbf01fdb5e97e3b425590da6c5eefa8 /modules/by-name/an/anubis | |
| parent | scripts/check_get_tests.nix: Select a nixpkgs input to work with (diff) | |
| download | nixos-server-178cce63384be3291d835d293f29267984fe5fd5.zip | |
modules/anubis: Enable once instances have been configured
Introducing the `enable` option meant that all modules that use it need
to enable it before. This default neatly works around that.
Diffstat (limited to 'modules/by-name/an/anubis')
| -rw-r--r-- | modules/by-name/an/anubis/module.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/by-name/an/anubis/module.nix b/modules/by-name/an/anubis/module.nix index 4140b28..7b584c4 100644 --- a/modules/by-name/an/anubis/module.nix +++ b/modules/by-name/an/anubis/module.nix @@ -30,7 +30,7 @@ cfg.instances; in { options.vhack.anubis = { - enable = lib.mkEnableOption "anubis"; + enable = lib.mkEnableOption "anubis" // {default = cfg.instances != {};}; instances = lib.mkOption { description = '' |
