mirror of
https://github.com/srid/nixos-config.git
synced 2026-01-17 12:57:58 +08:00
Prevent nix.conf in $HOME (cachix being offender)
Caches are managed globally
This commit is contained in:
parent
e6e955cce8
commit
78e101f434
1 changed files with 4 additions and 0 deletions
|
|
@ -1,4 +1,8 @@
|
|||
{
|
||||
# Garbage collect automatically every week
|
||||
nix.gc.automatic = true;
|
||||
|
||||
# Nix configuration is managed globally by nix-darwin.
|
||||
# Prevent $HOME nix.conf from disrespecting it.
|
||||
home.file."~/.config/nix/nix.conf".text = "";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue