fix update flake service

This commit is contained in:
Noa Aarts 2024-05-15 10:10:45 +02:00
parent 2615b0cfdf
commit 5531f3897f

View file

@ -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