Deployment and lifecycle management for Nix
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

cleanup: remove 0.8.0 config deprecation assertions from NixOS garden module

These guarded against pre-0.8.0 config formats (list subscriptions,
deployment_profiles). Since 0.9.0 requires 0.8.0+, they are no longer
needed.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

-12
-12
nix/nixos/garden.nix
··· 118 118 assertion = activatorCfg.enable || !config.security.sudo-rs.enable; 119 119 message = "sudo-rs is not supported"; 120 120 } 121 - { 122 - assertion = !(cfg.settings ? subscriptions && builtins.isList cfg.settings.subscriptions); 123 - message = "services.sower.garden.settings.subscriptions changed from a list to a map (name -> config) in 0.8.0"; 124 - } 125 - { 126 - assertion = !(cfg.settings ? deployment_profiles); 127 - message = "services.sower.garden.settings.deployment_profiles was removed in 0.8.0; set activation_args and reboot_policy directly on each subscription"; 128 - } 129 - { 130 - assertion = !(cfg.settings ? default_deployment_profile); 131 - message = "services.sower.garden.settings.default_deployment_profile was removed in 0.8.0"; 132 - } 133 121 ]; 134 122 135 123 boot.extraSystemdUnitPaths = lib.optionals manageServices [