Fix /nix/store taking up a lot of storage
Additionally: - add arcaea wiki search engine - fix haskell devshell not evaluating - remove a big dependency from my neovim setup
This commit is contained in:
parent
c16961d55e
commit
ca3bcfd3ac
4 changed files with 17 additions and 11 deletions
hosts/nixos/common/global
|
@ -9,14 +9,14 @@
|
|||
dates = "weekly";
|
||||
};
|
||||
|
||||
# Protect nix shell from garbage collection
|
||||
extraOptions = ''
|
||||
keep-outputs = true
|
||||
keep-derivations = true
|
||||
'';
|
||||
# ~~Protect nix shell from garbage collection~~
|
||||
# This was taking too much storage
|
||||
# extraOptions = ''
|
||||
# keep-outputs = true
|
||||
# keep-derivations = true
|
||||
# '';
|
||||
|
||||
# TODO: look into what this does,
|
||||
# and why it was here in my old config
|
||||
# https://nixos.wiki/wiki/Storage_optimization
|
||||
optimise.automatic = true;
|
||||
|
||||
# This will add each flake input as a registry
|
||||
|
@ -33,8 +33,8 @@
|
|||
"nix-command"
|
||||
"flakes"
|
||||
"repl-flake"
|
||||
"auto-allocate-uids"
|
||||
# "configurable-impure-env"
|
||||
"auto-allocate-uids"
|
||||
# "configurable-impure-env"
|
||||
];
|
||||
|
||||
# Disable warning when rebuilding before commiting
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue