From 76e06c3f36a02746692f6fd6f1425cc9979876c4 Mon Sep 17 00:00:00 2001 From: cdombroski Date: Wed, 24 Apr 2024 22:02:53 -0400 Subject: [PATCH] Remove autoupgrade service --- systems/smolboi/home.nix | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/systems/smolboi/home.nix b/systems/smolboi/home.nix index b1eb0ff..829e548 100644 --- a/systems/smolboi/home.nix +++ b/systems/smolboi/home.nix @@ -75,32 +75,6 @@ # '') ]; - systemd.user = { - services = { - autoupgrade = { - Service = { - WorkingDirectory = "/home/cdombroski/work/nix-configs"; - Type = "oneshot"; - ExecStart = "${pkgs.writeShellScript "upgrade-system" '' - ${pkgs.nix}/bin/nix flake update - ${pkgs.git}/bin/git add . - ${pkgs.git}/bin/git commit -m "update flake" - ${pkgs.git}/bin/git push - ${pkgs.deploy-rs}/bin/deploy - ''}"; - }; - }; - }; - timers = { - autoupgrade = { - Timer = { - OnCalendar = "daily"; - }; - Install.WantedBy = [ "timers.target" ]; - }; - }; - }; - nixpkgs.config = { allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ "discord"