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
|
ghc
|
||||||
hpack
|
hpack
|
||||||
stack
|
stack
|
||||||
fourmolu # Formatter
|
haskellPackages.fourmolu # Formatter
|
||||||
cabal-install
|
cabal-install
|
||||||
haskell-language-server
|
haskell-language-server
|
||||||
haskellPackages.implicit-hie # Automatically generate hie.yaml!
|
haskellPackages.implicit-hie # Automatically generate hie.yaml!
|
||||||
|
|
|
@ -140,6 +140,12 @@ in
|
||||||
aliases = [ "@yt" "@youtube" ];
|
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 {
|
"Noita wiki" = mkBasicSearchEngine {
|
||||||
url = "https://noita.wiki.gg/index.php";
|
url = "https://noita.wiki.gg/index.php";
|
||||||
param = "search";
|
param = "search";
|
||||||
|
|
|
@ -49,7 +49,7 @@ let
|
||||||
libstdcxx5 # Required by treesitter aparently
|
libstdcxx5 # Required by treesitter aparently
|
||||||
# python310Packages.jupytext # Convert between jupyter notebooks and python files
|
# python310Packages.jupytext # Convert between jupyter notebooks and python files
|
||||||
# graphviz # For rust crate graph
|
# graphviz # For rust crate graph
|
||||||
haskellPackages.hoogle # For haskell search
|
# haskellPackages.hoogle # For haskell search
|
||||||
|
|
||||||
# Preview
|
# Preview
|
||||||
# zathura # Pdf reader
|
# zathura # Pdf reader
|
||||||
|
|
|
@ -9,14 +9,14 @@
|
||||||
dates = "weekly";
|
dates = "weekly";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Protect nix shell from garbage collection
|
# ~~Protect nix shell from garbage collection~~
|
||||||
extraOptions = ''
|
# This was taking too much storage
|
||||||
keep-outputs = true
|
# extraOptions = ''
|
||||||
keep-derivations = true
|
# keep-outputs = true
|
||||||
'';
|
# keep-derivations = true
|
||||||
|
# '';
|
||||||
|
|
||||||
# TODO: look into what this does,
|
# https://nixos.wiki/wiki/Storage_optimization
|
||||||
# and why it was here in my old config
|
|
||||||
optimise.automatic = true;
|
optimise.automatic = true;
|
||||||
|
|
||||||
# This will add each flake input as a registry
|
# This will add each flake input as a registry
|
||||||
|
@ -33,8 +33,8 @@
|
||||||
"nix-command"
|
"nix-command"
|
||||||
"flakes"
|
"flakes"
|
||||||
"repl-flake"
|
"repl-flake"
|
||||||
"auto-allocate-uids"
|
"auto-allocate-uids"
|
||||||
# "configurable-impure-env"
|
# "configurable-impure-env"
|
||||||
];
|
];
|
||||||
|
|
||||||
# Disable warning when rebuilding before commiting
|
# Disable warning when rebuilding before commiting
|
||||||
|
|
Loading…
Reference in a new issue