From 56bea715218a18bcc13d6c7ae2c3fc5b6af50643 Mon Sep 17 00:00:00 2001 From: Noa Aarts Date: Wed, 15 May 2024 10:19:27 +0200 Subject: [PATCH] add nixos-rebuild to auto update path --- hosts/server/configuration.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hosts/server/configuration.nix b/hosts/server/configuration.nix index 0478276..82cc399 100644 --- a/hosts/server/configuration.nix +++ b/hosts/server/configuration.nix @@ -126,6 +126,9 @@ }; systemd.services."update-from-flake" = { + path = with pkgs; [ + nixos-rebuild + ]; script = ''nixos-rebuild switch --flake github:itepastra/nixconf''; serviceConfig = { Type = "oneshot";