refactor session vars

This commit is contained in:
Sean Kovacs 2026-02-21 20:00:16 -05:00
commit 0606c25569
Signed by: sckova
GPG key ID: 00F325187C68651A
3 changed files with 6 additions and 10 deletions

View file

@ -1,15 +1,10 @@
{
config,
pkgs,
...
}:
{
home = {
packages = with pkgs; [ openmw ];
sessionVariables = {
SDL_VIDEO_DRIVER = "wayland";
};
};
home.packages = with pkgs; [ openmw ];
home.sessionVariables.SDL_VIDEO_DRIVER = "wayland";
programs.firefox.profiles.default.search.engines.uesp = {
name = "Unofficial Elder Scrolls Pages";

View file

@ -31,6 +31,8 @@
home.sessionVariables = {
QT_QPA_PLATFORMTHEME = "qt6ct";
# this makes electron apps work per the wiki
NIXOS_OZONE_WL = "1";
};
gtk = {

View file

@ -1,12 +1,11 @@
{
pkgs,
config,
lib,
...
}:
{
home.sessionVariables = {
EDITOR = "nvim";
};
home.sessionVariables.EDITOR = lib.mkForce "kitty nvim";
home.packages = with pkgs; [
kdePackages.qtdeclarative