From 5531f3897f95eb905496662f7ff2d6463f825630 Mon Sep 17 00:00:00 2001 From: Noa Aarts Date: Wed, 15 May 2024 10:10:45 +0200 Subject: [PATCH] fix update flake service --- hosts/default/configuration.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hosts/default/configuration.nix b/hosts/default/configuration.nix index 73943ff..547375a 100644 --- a/hosts/default/configuration.nix +++ b/hosts/default/configuration.nix @@ -247,6 +247,12 @@ }; systemd.services."update-flake" = { + path = with pkgs; [ + git + openssh + nix + nixos-rebuild + ]; script = '' [[ ! -d '/root/nixconf' ]] && cd /root && git clone git@github.com:itepastra/nixconf cd /root/nixconf