mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-05 17:27:50 +00:00
[Nix] user nix daemon for all commands by default
This commit is contained in:
parent
6d061dce0e
commit
50ed99e303
1 changed files with 4 additions and 0 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue