rm lock
This commit is contained in:
parent
bf173df8e5
commit
cfb7801ac5
1 changed files with 2 additions and 1 deletions
|
|
@ -442,7 +442,7 @@
|
||||||
Type = "oneshot";
|
Type = "oneshot";
|
||||||
User = "ltadeu6";
|
User = "ltadeu6";
|
||||||
WorkingDirectory = "/home/ltadeu6/nixos-config";
|
WorkingDirectory = "/home/ltadeu6/nixos-config";
|
||||||
Path = [ pkgs.git pkgs.nix ];
|
Path = [ pkgs.git pkgs.nix pkgs.coreutils ];
|
||||||
Environment = [
|
Environment = [
|
||||||
"GIT_AUTHOR_NAME=auto-upgrade"
|
"GIT_AUTHOR_NAME=auto-upgrade"
|
||||||
"GIT_AUTHOR_EMAIL=auto-upgrade@localhost"
|
"GIT_AUTHOR_EMAIL=auto-upgrade@localhost"
|
||||||
|
|
@ -452,6 +452,7 @@
|
||||||
};
|
};
|
||||||
script = ''
|
script = ''
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
export PATH="${pkgs.git}/bin:${pkgs.nix}/bin:/run/current-system/sw/bin"
|
||||||
/run/current-system/sw/bin/nix flake update --commit-lock-file
|
/run/current-system/sw/bin/nix flake update --commit-lock-file
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue