fix: add git package to update service
This commit is contained in:
parent
3ef95a5c59
commit
fc03678467
2 changed files with 2 additions and 0 deletions
|
|
@ -248,6 +248,7 @@
|
||||||
services."update-from-flake" = {
|
services."update-from-flake" = {
|
||||||
path = with pkgs; [
|
path = with pkgs; [
|
||||||
nixos-rebuild
|
nixos-rebuild
|
||||||
|
git
|
||||||
];
|
];
|
||||||
script = ''nixos-rebuild switch --flake github:itepastra/nixconf'';
|
script = ''nixos-rebuild switch --flake github:itepastra/nixconf'';
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
|
|
|
||||||
|
|
@ -116,6 +116,7 @@
|
||||||
systemd.services."update-from-flake" = {
|
systemd.services."update-from-flake" = {
|
||||||
path = with pkgs; [
|
path = with pkgs; [
|
||||||
nixos-rebuild
|
nixos-rebuild
|
||||||
|
git
|
||||||
];
|
];
|
||||||
script = ''nixos-rebuild switch --flake github:itepastra/nixconf#nuOS'';
|
script = ''nixos-rebuild switch --flake github:itepastra/nixconf#nuOS'';
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue