diff options
author | Soispha <soispha@vhack.eu> | 2024-01-13 11:38:29 +0100 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2024-01-13 11:38:29 +0100 |
commit | 12e3c1ad669c7b06bca3ce698798592f3f2567b6 (patch) | |
tree | a590ea17f9843e2b3163392fc05b5d30c028eeca /hm/soispha/conf/zsh/default.nix | |
parent | build(treewide): Update flake and shell library (diff) | |
download | nixos-config-12e3c1ad669c7b06bca3ce698798592f3f2567b6.zip |
fix(hm): Move the session variables to their associated service
Diffstat (limited to 'hm/soispha/conf/zsh/default.nix')
-rw-r--r-- | hm/soispha/conf/zsh/default.nix | 28 |
1 files changed, 1 insertions, 27 deletions
diff --git a/hm/soispha/conf/zsh/default.nix b/hm/soispha/conf/zsh/default.nix index a93dabce..8f36cf6c 100644 --- a/hm/soispha/conf/zsh/default.nix +++ b/hm/soispha/conf/zsh/default.nix @@ -4,7 +4,6 @@ lib, shell_library, system, - osConfig, ... }: { # TODO: ADD THIS ADDON @@ -79,32 +78,15 @@ hisea = "history 0 | grep"; }; sessionVariables = { - EDITOR = "nvim"; IVIEWER = "imv"; READER = "zathura"; - VISUAL = "nvim"; - CODEEDITOR = "nvim"; - TERMINAL = "alacritty"; - BROWSER = "firefox"; - COLORTERM = "truecolor"; - PAGER = "less -R"; - WM = "river"; - WALLPAPER = "${config.home.homeDirectory}/media/pictures/wallpaper"; - - # FUNCNEST for more functions in functions - #FUNCNEST = "2000"; - - WALLPAPERDIR = "$HOME/media/pictures/wallpapers/"; - LESS = "R"; - MANPAGER = "less -R --use-color -Dd+r -Du+b"; + LIBVIRT_DEFAULT_URI = "qemu:///system"; BEMENU_SCALE = "1.5"; BEMENU_BACKEND = "wayland"; BEMENU_OPTS = "--fn 'Source Code Pro 10' -c -l 30 -B 1 -W 0.9 --hf #ffffff"; - MPD_HOST = "/run/user/${builtins.toString osConfig.users.users.soispha.uid}/mpd/socket"; - # Clean the home dir {{{ CARGO_HOME = "${config.xdg.dataHome}/cargo"; @@ -115,8 +97,6 @@ #GRADLE_USER_HOME = "${config.xdg.dataHome}/gradle"; #GOPATH = "${config.xdg.dataHome}/go"; #GTK2_RC_FILES = "${config.xdg.configHome}/gtk-2.0/gtkrc"; - #LESSHISFILE = "${config.xdg.cacheHome}/less/history"; - #LESSKEYIN = "${config.xdg.configHome}/less/lesskey"; #RUSTUP_HOME = "${config.xdg.dataHome}/rustup"; #NPM_CONFIG_USERCONFIG = "${config.xdg.configHome}/npm/npmrc"; #NUGET_PACKAGES = "${config.xdg.cacheHome}/NuGetPackages"; @@ -130,16 +110,10 @@ # }}} # Export Wayland env Vars {{{ - # FIXME: This should not always be set to river <2023-12-28> - XDG_CURRENT_DESKTOP = "river"; - DESKTOP_SESSION = "river"; - - GTK_USE_PORTAL = 1; # tell gtk to use portals QT_QPA_PLATFORM = "wayland"; QT_QPA_PLATFORMTHEME = "qt5ct"; # needs qt5ct CLUTTER_BACKEND = "wayland"; SDL_VIDEODRIVER = "wayland"; # might brake some things - MOZ_ENABLE_WAYLAND = "1"; # }}} }; }; |