diff options
| author | quentin@aristote.fr <quentin@aristote.fr> | 2024-08-24 18:22:16 +0200 |
|---|---|---|
| committer | quentin@aristote.fr <quentin@aristote.fr> | 2024-08-24 18:22:16 +0200 |
| commit | 783ac0bd9d6967b01d4223aa53464bf8ada7d871 (patch) | |
| tree | 448f4686eca8bedb244b8599a7b733528be1814d | |
| parent | 6f4b815191da18117dfb5af78e44a781632ab425 (diff) | |
nixos: nix: flake-update: checkout repo in pre-start
| -rw-r--r-- | nixos/nix.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/nixos/nix.nix b/nixos/nix.nix index f3b868f..d65f04f 100644 --- a/nixos/nix.nix +++ b/nixos/nix.nix @@ -14,4 +14,9 @@ flake = "git+file:///etc/nixos"; gc.enable = true; }; + systemd.services.flake-update.preStart = '' + pushd /home/qaristote/code/nix/machines/latitude-7490 + git status + popd + ''; } |
