nixos: clean up cache in home
This commit is contained in:
parent
2985a4e744
commit
e47eaa32a3
|
@ -55,7 +55,8 @@ in
|
||||||
i18n = {
|
i18n = {
|
||||||
defaultLocale = "en_US.UTF-8";
|
defaultLocale = "en_US.UTF-8";
|
||||||
inputMethod = {
|
inputMethod = {
|
||||||
enabled = "fcitx5";
|
enable = true;
|
||||||
|
type = "fcitx5";
|
||||||
fcitx5 = {
|
fcitx5 = {
|
||||||
waylandFrontend = true;
|
waylandFrontend = true;
|
||||||
plasma6Support = true;
|
plasma6Support = true;
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
{ pkgs, config, ... }:
|
{ pkgs, config, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
|
home.sessionVariables = {
|
||||||
|
ELAN_HOME = "${config.xdg.cacheHome}/elan";
|
||||||
|
};
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
elan
|
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; [
|
home.packages = with pkgs; [
|
||||||
ocaml
|
ocaml
|
||||||
ocamlformat
|
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