diff options
| author | Michael Hoang <enzime@users.noreply.github.com> | 2024-11-15 14:03:43 +1100 |
|---|---|---|
| committer | Michael Hoang <enzime@users.noreply.github.com> | 2024-11-15 14:10:48 +1100 |
| commit | dae702993d18c608f07e9d320ccba816e9bce064 (patch) | |
| tree | f7703d194fbe9a9bb51ca9744f9eb441a084ecb0 /modules/nix | |
| parent | 6c71c49e2448e51ad830ed211024e6d0edc50116 (diff) | |
activate-system: remove `enable` option
Disabling this is not supported as `/run` gets cleared out on every
reboot so it is necessary for ensuring that the `/run/current-system`
symlink exists.
Diffstat (limited to 'modules/nix')
| -rw-r--r-- | modules/nix/default.nix | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/nix/default.nix b/modules/nix/default.nix index d99aae8..3751e8c 100644 --- a/modules/nix/default.nix +++ b/modules/nix/default.nix @@ -774,7 +774,6 @@ in # Not in NixOS module warnings = [ - (mkIf (!config.services.activate-system.enable && cfg.distributedBuilds) "services.activate-system is not enabled, a reboot could cause distributed builds to stop working.") (mkIf (!cfg.distributedBuilds && cfg.buildMachines != []) "nix.distributedBuilds is not enabled, build machines won't be configured.") ]; |
