diff options
author | polwex <polwex@sortug.com> | 2025-07-15 09:18:18 +0000 |
---|---|---|
committer | polwex <polwex@sortug.com> | 2025-07-15 09:18:18 +0000 |
commit | f236704849d20d090723d5bf9061bf845f7ba05d (patch) | |
tree | 32ca957662655c2b6e4fd5fde4ff1e9d7b019da1 /hosts/local/s15/gui.nix | |
parent | 34fae224e8460419ae8ef0fe32a12e3d362142b8 (diff) | |
parent | 93a42a56aa50d00fd2e521acd8213a0dfc3612c9 (diff) |
Merge branch 's15'
Diffstat (limited to 'hosts/local/s15/gui.nix')
-rw-r--r-- | hosts/local/s15/gui.nix | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/hosts/local/s15/gui.nix b/hosts/local/s15/gui.nix new file mode 100644 index 0000000..ec7cab2 --- /dev/null +++ b/hosts/local/s15/gui.nix @@ -0,0 +1,54 @@ +{ + inputs, + pkgs, + ... +}: { + environment.systemPackages = with pkgs; [ + alacritty + mpv + vlc + imv + celluloid + ffmpeg-full + xfce.thunar + thunderbird + krita + wev + ]; + + programs.sway = { + enable = true; + wrapperFeatures.gtk = true; + extraPackages = with pkgs; [ + wofi + foot + mako + kanshi + grim + slurp + wl-clipboard + wf-recorder + ]; + }; + environment.sessionVariables = { + NIXOS_OZONE_WL = "1"; + DE = "generic"; + LIBGL_ALWAYS_INDIRECT = 0; + GALLIUM_DRIVER = "llvmpipe"; + + SDL_VIDEODRIVER = "wayland"; + QT_QPA_PLATFORM = "wayland"; + QT_WAYLAND_DISABLE_WINDOWDECORATION = "1"; + _JAVA_AWT_WM_NONREPARENTING = "1"; + MOZ_ENABLE_WAYLAND = "1"; + + # GTK_IM_MODULE = "fcitx"; + # QT_IM_MODULE = "fcitx"; + # SDL_IM_MODULE = "fcitx"; + + XDG_CURRENT_DESKTOP = "sway"; + GDK_BACKEND = "wayland"; + XDG_SESSION_TYPE = "wayland"; + XMODIFIERS = "@im=fcitx"; + }; +} |