diff options
| -rw-r--r-- | configuration.nix | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/configuration.nix b/configuration.nix index 5cfcf8c..cae4e23 100644 --- a/configuration.nix +++ b/configuration.nix @@ -259,25 +259,6 @@ dates = "daily"; flake = "path:///etc/nixos"; }; - systemd.services.nixos-upgrade = { - after = [ "flake-update.service" ]; - requires = [ "flake-update.service" ]; - }; - systemd.services.flake-update = { - description = "Update flake inputs"; - unitConfig = { - StartLimitIntervalSec = 300; - StartLimitBurst = 5; - }; - serviceConfig = { - ExecStartPre = "${pkgs.networkmanager}/bin/nm-online"; - ExecStart = "${pkgs.nix}/bin/nix flake update --flake /etc/nixos"; - Restart = "on-failure"; - RestartSec = "30"; - Type = "oneshot"; - }; - path = with pkgs; [ nix git host networkmanager ]; - }; nix.package = pkgs.lixPackageSets.stable.lix; nix.gc.automatic = true; |
