From 69ff1ae022b2acfbc900b4ace2d42e13e228bd58 Mon Sep 17 00:00:00 2001 From: Julia Lange Date: Wed, 13 May 2026 00:14:40 -0700 Subject: [PATCH 1/3] Steam,Auto,Onizuka, clean up home with XDG --- hmModules/automatic/default.nix | 2 ++ nixosModules/apps/steam/app.nix | 11 ++++++++++- users/onizuka/default.nix | 12 +++++------- 3 files changed, 17 insertions(+), 8 deletions(-) diff --git a/hmModules/automatic/default.nix b/hmModules/automatic/default.nix index 18c78ef..3420208 100644 --- a/hmModules/automatic/default.nix +++ b/hmModules/automatic/default.nix @@ -23,6 +23,8 @@ home.sessionVariables = { GRADLE_USER_HOME = "${config.xdg.dataHome}/gradle"; + CARGO_HOME = "${config.xdg.dataHome}/cargo"; + JULIA_DEPOT_PATH = "${config.xdg.dataHome}/julia:$JULIA_DEPOT_PATH"; CUDA_CACHE_PATH = "${config.xdg.cacheHome}/nv"; }; diff --git a/nixosModules/apps/steam/app.nix b/nixosModules/apps/steam/app.nix index 6311d9b..01806d7 100644 --- a/nixosModules/apps/steam/app.nix +++ b/nixosModules/apps/steam/app.nix @@ -1,4 +1,4 @@ -{ config, lib, ... }: +{ config, pkgs, lib, ... }: { options.steam = { @@ -11,6 +11,15 @@ enable = true; remotePlay.openFirewall = true; dedicatedServer.openFirewall = true; + package = pkgs.steam.override { + extraBwrapArgs = [ + "--bind $XDG_STATE_HOME/FakeSteamHome $HOME" + "--unsetenv XDG_CACHE_HOME" + "--unsetenv XDG_CONFIG_HOME" + "--unsetenv XDG_DATA_HOME" + "--unsetenv XDG_STATE_HOME" + ]; + }; }; programs.gamemode.enable = lib.mkIf config.steam.gamemode true; }; diff --git a/users/onizuka/default.nix b/users/onizuka/default.nix index b221b66..de936ce 100644 --- a/users/onizuka/default.nix +++ b/users/onizuka/default.nix @@ -58,13 +58,11 @@ lf.enable = true; lf.hiddenfiles = [ - "${config.home.homeDirectory}/.librewolf" - "${config.home.homeDirectory}/.nix-defexpr" - "${config.home.homeDirectory}/.nix-profile" - "${config.home.homeDirectory}/.nv" - "${config.home.homeDirectory}/.pki" - "${config.home.homeDirectory}/.steam*" - "${config.home.homeDirectory}/.zshenv" + "${config.home.homeDirectory}/.mozilla" # Unsupported + "${config.home.homeDirectory}/.librewolf" # Unsupported + "${config.home.homeDirectory}/.ssh" # openssh assumes + "${config.home.homeDirectory}/.manpath" # man-db has it hardcoded + "${config.home.homeDirectory}/.face" # caelestia-shell requires ]; zoxide.enable = true; From 0298b801b69897e5ad27b46ddf6a37958bac5a2e Mon Sep 17 00:00:00 2001 From: Julia Lange Date: Wed, 13 May 2026 01:17:25 -0700 Subject: [PATCH 2/3] Foot, initialize foot --- hmModules/apps/foot/app.nix | 93 +++++++++++++++++++++++++++++++++++++ 1 file changed, 93 insertions(+) create mode 100644 hmModules/apps/foot/app.nix diff --git a/hmModules/apps/foot/app.nix b/hmModules/apps/foot/app.nix new file mode 100644 index 0000000..5911613 --- /dev/null +++ b/hmModules/apps/foot/app.nix @@ -0,0 +1,93 @@ +{ config, lib, ... }: + +{ + options.foot = { + enable = lib.mkEnableOption "Enables foot"; + make_default = lib.mkEnableOption "Makes foot default terminal emulator"; + font = lib.mkOption { default = ""; }; + font_size = lib.mkOption { default = 24; }; + theme = { + catppuccin.enable = lib.mkEnableOption "Enables catppuccin theme for foot"; + }; + }; + + config = lib.mkIf config.foot.enable { + programs.foot = { + enable = true; + settings = { + main.font = "${config.foot.font}:size=${builtins.toString config.foot.font_size}"; + colors-dark = lib.mkIf config.foot.theme.catppuccin.enable { + cursor = "11111b f5e0dc"; + foreground = "cdd6f4"; + background = "1e1e2e"; + + regular0 = "45475a"; + regular1 = "f38ba8"; + regular2 = "a6e3a1"; + regular3 = "f9e2af"; + regular4 = "89b4fa"; + regular5 = "f5c2e7"; + regular6 = "94e2d5"; + regular7 = "bac2de"; + + bright0 = "585b70"; + bright1 = "f38ba8"; + bright2 = "a6e3a1"; + bright3 = "f9e2af"; + bright4 = "89b4fa"; + bright5 = "f5c2e7"; + bright6 = "94e2d5"; + bright7 = "a6adc8"; + + "16" = "fab387"; + "17" = "f5e0dc"; + + selection-foreground = "cdd6f4"; + selection-background = "414356"; + + search-box-no-match = "11111b f38ba8"; + search-box-match = "cdd6f4 313244"; + + jump-labels = "11111b fab387"; + urls = "89b4fa"; + }; + colors-light = lib.mkIf config.foot.theme.catppuccin.enable { + cursor = "eff1f5 dc8a78"; + foreground = "4c4f69"; + background = "eff1f5"; + + regular0 = "5c5f77"; + regular1 = "d20f39"; + regular2 = "40a02b"; + regular3 = "df8e1d"; + regular4 = "1e66f5"; + regular5 = "ea76cb"; + regular6 = "179299"; + regular7 = "acb0be"; + + bright0 = "6c6f85"; + bright1 = "d20f39"; + bright2 = "40a02b"; + bright3 = "df8e1d"; + bright4 = "1e66f5"; + bright5 = "ea76cb"; + bright6 = "179299"; + bright7 = "bcc0cc"; + + "16" = "fe640b"; + "17" = "dc8a78"; + + selection-foreground = "4c4f69"; + selection-background = "ccced7"; + + search-box-no-match = "dce0e8 d20f39"; + search-box-match = "4c4f69 ccd0da"; + + jump-labels = "dce0e8 fe640b"; + urls = "1e66f5"; + }; + }; + }; + defaultApps.terminal = lib.mkIf config.foot.make_default "foot"; + }; +} From 17b3b57a4a66bf83831aa72ef3d23a775b58dfdf Mon Sep 17 00:00:00 2001 From: Julia Lange Date: Wed, 13 May 2026 01:17:37 -0700 Subject: [PATCH 3/3] Onizuka, switch from kitty to foot --- users/onizuka/default.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/users/onizuka/default.nix b/users/onizuka/default.nix index de936ce..a39eeaa 100644 --- a/users/onizuka/default.nix +++ b/users/onizuka/default.nix @@ -22,9 +22,12 @@ trash.enable = true; fish.enable = true; - kitty.enable = true; - kitty.make_default = true; - kitty.font = "Cascadia Code"; + foot = { + enable = true; + make_default = true; + font = "Cascadia Code"; + theme.catppuccin.enable = true; + }; git.enable = true; git.username = "Julia Lange"; git.email = "public@julialange.org";