nixos: clean up cache in home
This commit is contained in:
parent
2985a4e744
commit
e47eaa32a3
|
@ -55,7 +55,8 @@ in
|
|||
i18n = {
|
||||
defaultLocale = "en_US.UTF-8";
|
||||
inputMethod = {
|
||||
enabled = "fcitx5";
|
||||
enable = true;
|
||||
type = "fcitx5";
|
||||
fcitx5 = {
|
||||
waylandFrontend = true;
|
||||
plasma6Support = true;
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
{ pkgs, config, ... }:
|
||||
|
||||
{
|
||||
home.sessionVariables = {
|
||||
ELAN_HOME = "${config.xdg.cacheHome}/elan";
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [
|
||||
elan
|
||||
];
|
||||
|
||||
# home.sessionVariables = {
|
||||
# ELAN_HOME = "${config.xdg.cacheHome}/elan";
|
||||
# };
|
||||
}
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
{ pkgs, ... }:
|
||||
{ pkgs, config, ... }:
|
||||
|
||||
{
|
||||
home.sessionVariables = {
|
||||
OPAMROOT = "${config.xdg.cacheHome}/opam";
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [
|
||||
ocaml
|
||||
ocamlformat
|
||||
|
|
12
nixos/msi/modules/rust.nix
Normal file
12
nixos/msi/modules/rust.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{ pkgs, config, ... }:
|
||||
|
||||
{
|
||||
home.sessionVariables = {
|
||||
CARGO_HOME = "${config.xdg.cacheHome}/cargo";
|
||||
RUSTUP_HOME = "${config.xdg.cacheHome}/rustup";
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [
|
||||
rust-analyzer
|
||||
];
|
||||
}
|
Loading…
Reference in a new issue