diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-10-18 19:12:04 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-10-18 19:30:17 +0200 |
commit | 6f58045f9711eaf435bce9f8ef66c7423890867e (patch) | |
tree | ff456d30ad72154c0a5069e7eb4f253835caa7ed /modules/home.legacy | |
parent | docs(modules/home-manager): Add a TODO regarding a better error message (diff) | |
download | nixos-config-6f58045f9711eaf435bce9f8ef66c7423890867e.tar.gz nixos-config-6f58045f9711eaf435bce9f8ef66c7423890867e.zip |
fix(modules/legacy/conf/zsh): Move ENV-vars to their own modules
This also creates the `imv` and `zathura` module, but the added configuration should be trivial (especially in the `imv` case.)
Diffstat (limited to 'modules/home.legacy')
-rw-r--r-- | modules/home.legacy/conf/zsh/default.nix | 17 | ||||
-rw-r--r-- | modules/home.legacy/wms/river/default.nix | 7 |
2 files changed, 7 insertions, 17 deletions
diff --git a/modules/home.legacy/conf/zsh/default.nix b/modules/home.legacy/conf/zsh/default.nix index f5c65081..cb1a565f 100644 --- a/modules/home.legacy/conf/zsh/default.nix +++ b/modules/home.legacy/conf/zsh/default.nix @@ -82,22 +82,5 @@ hisea = "history 0 | grep"; }; - sessionVariables = { - IVIEWER = "imv"; - READER = "zathura"; - - 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"; - - # Export Wayland env Vars {{{ - QT_QPA_PLATFORM = "wayland"; - QT_QPA_PLATFORMTHEME = "qt5ct"; # needs qt5ct - CLUTTER_BACKEND = "wayland"; - SDL_VIDEODRIVER = "wayland"; # might brake some things - # }}} - }; }; } diff --git a/modules/home.legacy/wms/river/default.nix b/modules/home.legacy/wms/river/default.nix index 36a9ca74..1ec39f4d 100644 --- a/modules/home.legacy/wms/river/default.nix +++ b/modules/home.legacy/wms/river/default.nix @@ -45,6 +45,13 @@ in { WM = "river"; XDG_CURRENT_DESKTOP = "river"; DESKTOP_SESSION = "river"; + + # Export Wayland env Vars {{{ + QT_QPA_PLATFORM = "wayland"; + QT_QPA_PLATFORMTHEME = "qt5ct"; # needs qt5ct + CLUTTER_BACKEND = "wayland"; + SDL_VIDEODRIVER = "wayland"; # might brake some things + # }}} }; xdg.configFile."river/init".source = |