add initial check to the update service
This commit is contained in:
parent
ca1469ce28
commit
a38ad0445f
1 changed files with 1 additions and 0 deletions
|
|
@ -248,6 +248,7 @@
|
|||
|
||||
systemd.services."update-flake" = {
|
||||
script = ''
|
||||
[[ ! -d '/root/nixconf' ]] && cd /root && git clone git@github.com:itepastra/nixconf
|
||||
cd /root/nixconf
|
||||
git pull
|
||||
nix flake update --commit-lock-file /root/nixconf
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue