mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-12-04 03:26:20 +01:00
feat: nix.gc.automatic = true
This commit is contained in:
1 parent
0e194466d4
commit
e499f0ee37
3 files changed
+29
-3
No files matched your search
@@ -1,11 +1,9 @@
|
||||
{
|
||||
description = "NixOS configuration of Ryan Yin";
|
||||
|
||||
# the nixConfig here only affects the flake itself, not the system configuration!
|
||||
nixConfig = {
|
||||
experimental-features = [ "nix-command" "flakes" ];
|
||||
# Manual optimise storage: nix-store --optimise
|
||||
# https://nixos.org/manual/nix/stable/command-ref/conf-file.html#conf-auto-optimise-store
|
||||
auto-optimise-store = true;
|
||||
|
||||
substituters = [
|
||||
# replace official cache with a mirror located in China
|
||||
|
||||
Reference in new issue
Block a user