Commit ada17a45b246

Vincent Demeester <vincent@sbr.pm>
2019-04-14 15:54:04
nix-auto-update: disable daily nix-channel update
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent add2f46
Changed files (1)
modules
modules/profiles/nix-auto-update.nix
@@ -34,25 +34,6 @@ in
       system = {
         stateVersion = cfg.version;
       };
-      # Auto refresh nix-channel each day
-      systemd.services.channel-update = {
-        description = "Update nix-channel daily";
-        wantedBy = [ "multi-user.target" ];
-        serviceConfig = {
-          Type = "oneshot";
-          ExecStart = "/run/current-system/sw/bin/nix-channel --update";
-          Environment = "PATH=/run/current-system/sw/bin";
-        };
-      };
-      systemd.timers.channel-update = {
-        description = "Update nix-channel daily";
-        wantedBy = [ "timers.target" ];
-        timerConfig = {
-          OnCalendar = "daily";
-          Persistent = "true";
-        };
-      };
-      systemd.timers.channel-update.enable = true;
     }
     (mkIf cfg.autoUpgrade {
       systemd.services.nixos-update = {