diff options
| author | Mica White <botahamec@outlook.com> | 2026-11-15 13:39:40 -0500 |
|---|---|---|
| committer | Mica White <botahamec@outlook.com> | 2026-11-15 13:39:40 -0500 |
| commit | 7c48646bb30bf49f857ba097a5e33217641d7fb2 (patch) | |
| tree | 30a0723660f6ee059dd1b650ba3228397febe126 /configuration.nix | |
| parent | 92349d31a77533cfe5f69ac8b3d09eca3b0ccbcc (diff) | |
Remove flake update service
Diffstat (limited to 'configuration.nix')
| -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; |
