1
Fork 0

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:
Matei Adriel 2023-12-15 03:53:22 +01:00
parent c16961d55e
commit ca3bcfd3ac
No known key found for this signature in database
4 changed files with 17 additions and 11 deletions

View file

@ -5,7 +5,7 @@ pkgs.mkShell {
ghc
hpack
stack
fourmolu # Formatter
haskellPackages.fourmolu # Formatter
cabal-install
haskell-language-server
haskellPackages.implicit-hie # Automatically generate hie.yaml!

View file

@ -140,6 +140,12 @@ in
aliases = [ "@yt" "@youtube" ];
};
"Arcaea wiki" = mkBasicSearchEngine {
url = "https://arcaea.fandom.com/wiki/Special:Search?scope=internal&navigationSearch=true";
param = "query";
aliases = [ "@ae" "@arcaea" ];
};
"Noita wiki" = mkBasicSearchEngine {
url = "https://noita.wiki.gg/index.php";
param = "search";

View file

@ -49,7 +49,7 @@ let
libstdcxx5 # Required by treesitter aparently
# python310Packages.jupytext # Convert between jupyter notebooks and python files
# graphviz # For rust crate graph
haskellPackages.hoogle # For haskell search
# haskellPackages.hoogle # For haskell search
# Preview
# zathura # Pdf reader

View file

@ -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