Merge pull request #19805 from joachifm/startAt-fixups
Fixup remaining uses of startAt
commitbdc4397303fcd6312cdb321d0870099b88b0625b
authorJoachim F <joachifm@users.noreply.github.com>
dateSun 23 Oct 2016, 20:39 (10 years ago)
parentfda12d84c41c41
nixos/modules/installer/tools/auto-upgrade.nix+1−1
@@ -84,7 +84,7 @@ let cfg = config.system.autoUpgrade; in
8484 ${config.system.build.nixos-rebuild}/bin/nixos-rebuild switch ${toString cfg.flags}
8585 '';
8686
87− startAt = optionalString cfg.enable cfg.dates;
87+ startAt = optional cfg.enable cfg.dates;
8888 };
8989
9090 };
nixos/modules/services/misc/nix-gc.nix+1−1
@@ -53,7 +53,7 @@ in
5353 systemd.services.nix-gc =
5454 { description = "Nix Garbage Collector";
5555 script = "exec ${config.nix.package.out}/bin/nix-collect-garbage ${cfg.options}";
56− startAt = optionalString cfg.automatic cfg.dates;
56+ startAt = optional cfg.automatic cfg.dates;
5757 };
5858
5959 };