diff options
| author | quentin@aristote.fr <quentin@aristote.fr> | 2024-08-23 08:58:33 +0200 |
|---|---|---|
| committer | quentin@aristote.fr <quentin@aristote.fr> | 2024-08-23 08:58:33 +0200 |
| commit | 72774b29d4eefd87d9ef74f11e2eef5a01d633b7 (patch) | |
| tree | 7aad257cb67a0877182778a14ef9595bdee1803e /modules/nixos | |
| parent | aa1d46a976db0d5daa82786e6a489a325f753038 (diff) | |
nixos: nix: flake-update: set HOME for git to know about safe directories
Diffstat (limited to 'modules/nixos')
| -rw-r--r-- | modules/nixos/personal/nix.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/nixos/personal/nix.nix b/modules/nixos/personal/nix.nix index 268c330..b165094 100644 --- a/modules/nixos/personal/nix.nix +++ b/modules/nixos/personal/nix.nix @@ -76,6 +76,7 @@ in { Type = "oneshot"; # Ensure that it finishes before starting nixos-upgrade }; before = ["nixos-upgrade.service"]; + environment.HOME = "/root"; path = [pkgs.git]; personal.monitor = true; }; |
