[Nix] user nix daemon for all commands by default

This commit is contained in:
Antoine Viallon 2023-07-30 22:01:13 +02:00
parent 6d061dce0e
commit 50ed99e303
Signed by: aviallon
GPG key ID: 186FC35EDEB25716

View file

@ -38,6 +38,10 @@ in
environment.systemPackages = [
(hiPrio config.system.build.nixos-rebuild)
];
environment.variables = {
NIX_REMOTE = "daemon"; # Use the nix daemon by default
};
systemd.services.nixos-upgrade = {
unitConfig = {