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
|
@ -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!
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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…
Reference in a new issue