refactor session vars

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

View file

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

View file

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

View file

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