From ad8beab1ec548b52088aa6788b03ec01daf0f84d Mon Sep 17 00:00:00 2001 From: Quentin Aristote Date: Sat, 16 Apr 2022 17:54:20 +0200 Subject: auto upgrades: use built-in option instead of cron job --- nixos/services.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nixos/services.nix') diff --git a/nixos/services.nix b/nixos/services.nix index 665477c..fa05a3b 100644 --- a/nixos/services.nix +++ b/nixos/services.nix @@ -12,7 +12,7 @@ allow = [ "root" "qaristote" ]; systab = '' # Update the system. - @daily root ${pkgs.nix}/bin/nix-channel --update; ${pkgs.nixos-rebuild}/bin/nixos-rebuild switch + # @daily root ${pkgs.nix}/bin/nix-channel --update; ${pkgs.nixos-rebuild}/bin/nixos-rebuild switch # Update virtual environments @daily qaristote find /home/qaristote -type d -name .nix-gc-roots -execdir ${pkgs.direnv}/bin/direnv exec . true \; ''; -- cgit v1.2.3