Deployment and lifecycle management for Nix
0
fork

Configure Feed

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

nixos-client: set reboot true if autoreboot is enabled

+1 -1
+1 -1
nix/nixos-client.nix
··· 52 52 53 53 config = lib.mkIf cfg.enable { 54 54 environment.etc."sower/config.toml".source = lib.mkIf (cfg.settings != null) ( 55 - toml.generate "sower-config.toml" cfg.settings 55 + toml.generate "sower-config.toml" (cfg.settings // (lib.optionalAttrs cfg.autoreboot { reboot = true; })) 56 56 ); 57 57 58 58 systemd.services.sower-client = {