fix update flake service
This commit is contained in:
parent
2615b0cfdf
commit
5531f3897f
1 changed files with 6 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue