Exclude more GNOME applications, fix SDL environment options to ensure games work correctly, GNOME config files
This commit is contained in:
parent
e158bda697
commit
c731d0c0e0
|
|
@ -10,11 +10,17 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
|
# Config Files (typically $HOME/.config)
|
||||||
|
xdg.configFile = {
|
||||||
|
"vesktop/themes".source = ./resources/home-manager/.config/vesktop/themes;
|
||||||
|
"foot/foot.ini".source = ./resources/home-manager/.config/foot/foot.ini;
|
||||||
|
};
|
||||||
|
|
||||||
home.sessionVariables = {
|
home.sessionVariables = {
|
||||||
TERM = "foot";
|
TERM = "foot";
|
||||||
QT_QPA_PLATFORM = "wayland";
|
QT_QPA_PLATFORM = "wayland";
|
||||||
QT_WAYLAND_DISABLE_WINDOWDECORATION = "1";
|
QT_WAYLAND_DISABLE_WINDOWDECORATION = "1";
|
||||||
SDL_VIDEODRIVER = "wayland";
|
SDL_VIDEODRIVER = "wayland,x11,windows";
|
||||||
MOZ_ENABLE_WAYLAND = "1";
|
MOZ_ENABLE_WAYLAND = "1";
|
||||||
# Enable native wayland support for chromium and electron based applications
|
# Enable native wayland support for chromium and electron based applications
|
||||||
NIXOS_OZONE_WL = "1";
|
NIXOS_OZONE_WL = "1";
|
||||||
|
|
|
||||||
|
|
@ -35,11 +35,18 @@ in
|
||||||
environment.gnome.excludePackages = (with pkgs; [
|
environment.gnome.excludePackages = (with pkgs; [
|
||||||
gnome-photos
|
gnome-photos
|
||||||
gnome-tour
|
gnome-tour
|
||||||
|
gedit # text editor
|
||||||
|
gnome-console
|
||||||
]) ++ (with pkgs.gnome; [
|
]) ++ (with pkgs.gnome; [
|
||||||
cheese # webcam tool
|
cheese # webcam tool
|
||||||
gnome-music
|
gnome-music
|
||||||
gnome-terminal
|
gnome-terminal
|
||||||
gedit # text editor
|
gnome-calendar
|
||||||
|
gnome-weather
|
||||||
|
gnome-contacts
|
||||||
|
gnome-calculator
|
||||||
|
gnome-maps
|
||||||
|
simple-scan
|
||||||
epiphany # web browser
|
epiphany # web browser
|
||||||
geary # email reader
|
geary # email reader
|
||||||
evince # document viewer
|
evince # document viewer
|
||||||
|
|
@ -82,7 +89,7 @@ in
|
||||||
TERM = "foot";
|
TERM = "foot";
|
||||||
QT_QPA_PLATFORM = "wayland";
|
QT_QPA_PLATFORM = "wayland";
|
||||||
QT_WAYLAND_DISABLE_WINDOWDECORATION = "1";
|
QT_WAYLAND_DISABLE_WINDOWDECORATION = "1";
|
||||||
SDL_VIDEODRIVER = "wayland";
|
SDL_VIDEODRIVER = "wayland,x11,windows";
|
||||||
MOZ_ENABLE_WAYLAND = "1";
|
MOZ_ENABLE_WAYLAND = "1";
|
||||||
# Enable native wayland support for chromium and electron based applications
|
# Enable native wayland support for chromium and electron based applications
|
||||||
NIXOS_OZONE_WL = "1";
|
NIXOS_OZONE_WL = "1";
|
||||||
|
|
@ -91,7 +98,7 @@ in
|
||||||
TERM = "foot";
|
TERM = "foot";
|
||||||
QT_QPA_PLATFORM = "wayland";
|
QT_QPA_PLATFORM = "wayland";
|
||||||
QT_WAYLAND_DISABLE_WINDOWDECORATION = "1";
|
QT_WAYLAND_DISABLE_WINDOWDECORATION = "1";
|
||||||
SDL_VIDEODRIVER = "wayland";
|
SDL_VIDEODRIVER = "wayland,x11,windows";
|
||||||
MOZ_ENABLE_WAYLAND = "1";
|
MOZ_ENABLE_WAYLAND = "1";
|
||||||
# Enable native wayland support for chromium and electron based applications
|
# Enable native wayland support for chromium and electron based applications
|
||||||
NIXOS_OZONE_WL = "1";
|
NIXOS_OZONE_WL = "1";
|
||||||
|
|
@ -100,7 +107,11 @@ in
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
# GNOME plugins
|
# GNOME plugins
|
||||||
gnomeExtensions.appindicator
|
gnomeExtensions.appindicator
|
||||||
|
gnomeExtensions.paperwm
|
||||||
|
gnomeExtensions.luminus-shell-y
|
||||||
|
gnomeExtensions.blur-my-shell
|
||||||
|
|
||||||
|
gnome.gnome-tweaks
|
||||||
foot # Terminal Emulator
|
foot # Terminal Emulator
|
||||||
wl-clipboard
|
wl-clipboard
|
||||||
wev # Clone of X11 xev for wayland
|
wev # Clone of X11 xev for wayland
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,23 @@
|
||||||
|
# -*- conf -*-
|
||||||
|
font=HackNerdFontMono-Regular:size=13
|
||||||
|
|
||||||
|
# Gruvbox - Light
|
||||||
|
[colors]
|
||||||
|
background=fbf1c7
|
||||||
|
foreground=3c3836
|
||||||
|
regular0=fbf1c7
|
||||||
|
regular1=cc241d
|
||||||
|
regular2=98971a
|
||||||
|
regular3=d79921
|
||||||
|
regular4=458588
|
||||||
|
regular5=b16286
|
||||||
|
regular6=689d6a
|
||||||
|
regular7=7c6f64
|
||||||
|
bright0=928374
|
||||||
|
bright1=9d0006
|
||||||
|
bright2=79740e
|
||||||
|
bright3=b57614
|
||||||
|
bright4=076678
|
||||||
|
bright5=8f3f71
|
||||||
|
bright6=427b58
|
||||||
|
bright7=3c3836
|
||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
|
@ -44,7 +44,7 @@ in
|
||||||
QT_QPA_PLATFORM = "wayland";
|
QT_QPA_PLATFORM = "wayland";
|
||||||
QT_QPA_PLATFORMTHEME = "qt6ct";
|
QT_QPA_PLATFORMTHEME = "qt6ct";
|
||||||
QT_WAYLAND_DISABLE_WINDOWDECORATION = "1";
|
QT_WAYLAND_DISABLE_WINDOWDECORATION = "1";
|
||||||
SDL_VIDEODRIVER = "wayland";
|
SDL_VIDEODRIVER = "wayland,x11,windows";
|
||||||
_JAVA_AWT_WM_NONREPARENTING = "1";
|
_JAVA_AWT_WM_NONREPARENTING = "1";
|
||||||
SSH_ASKPASS_REQUIRE = "force";
|
SSH_ASKPASS_REQUIRE = "force";
|
||||||
SSH_ASKPASS = "/run/current-system/sw/bin/lxqt-openssh-askpass";
|
SSH_ASKPASS = "/run/current-system/sw/bin/lxqt-openssh-askpass";
|
||||||
|
|
|
||||||
|
|
@ -114,7 +114,7 @@ in
|
||||||
QT_QPA_PLATFORM = "wayland";
|
QT_QPA_PLATFORM = "wayland";
|
||||||
QT_QPA_PLATFORMTHEME = "qt6ct";
|
QT_QPA_PLATFORMTHEME = "qt6ct";
|
||||||
QT_WAYLAND_DISABLE_WINDOWDECORATION = "1";
|
QT_WAYLAND_DISABLE_WINDOWDECORATION = "1";
|
||||||
SDL_VIDEODRIVER = "wayland";
|
SDL_VIDEODRIVER = "wayland,x11,windows";
|
||||||
_JAVA_AWT_WM_NONREPARENTING = "1";
|
_JAVA_AWT_WM_NONREPARENTING = "1";
|
||||||
SSH_ASKPASS_REQUIRE = "force";
|
SSH_ASKPASS_REQUIRE = "force";
|
||||||
SSH_ASKPASS = "/run/current-system/sw/bin/lxqt-openssh-askpass";
|
SSH_ASKPASS = "/run/current-system/sw/bin/lxqt-openssh-askpass";
|
||||||
|
|
@ -127,7 +127,7 @@ in
|
||||||
QT_QPA_PLATFORM = "wayland";
|
QT_QPA_PLATFORM = "wayland";
|
||||||
QT_QPA_PLATFORMTHEME = "qt6ct";
|
QT_QPA_PLATFORMTHEME = "qt6ct";
|
||||||
QT_WAYLAND_DISABLE_WINDOWDECORATION = "1";
|
QT_WAYLAND_DISABLE_WINDOWDECORATION = "1";
|
||||||
SDL_VIDEODRIVER = "wayland";
|
SDL_VIDEODRIVER = "wayland,x11,windows";
|
||||||
_JAVA_AWT_WM_NONREPARENTING = "1";
|
_JAVA_AWT_WM_NONREPARENTING = "1";
|
||||||
SSH_ASKPASS_REQUIRE = "force";
|
SSH_ASKPASS_REQUIRE = "force";
|
||||||
SSH_ASKPASS = lib.mkForce "/run/current-system/sw/bin/lxqt-openssh-askpass";
|
SSH_ASKPASS = lib.mkForce "/run/current-system/sw/bin/lxqt-openssh-askpass";
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ in
|
||||||
QT_QPA_PLATFORM = "wayland";
|
QT_QPA_PLATFORM = "wayland";
|
||||||
QT_QPA_PLATFORMTHEME = "qt6ct";
|
QT_QPA_PLATFORMTHEME = "qt6ct";
|
||||||
QT_WAYLAND_DISABLE_WINDOWDECORATION = "1";
|
QT_WAYLAND_DISABLE_WINDOWDECORATION = "1";
|
||||||
SDL_VIDEODRIVER = "wayland";
|
SDL_VIDEODRIVER = "wayland,x11,windows";
|
||||||
_JAVA_AWT_WM_NONREPARENTING = "1";
|
_JAVA_AWT_WM_NONREPARENTING = "1";
|
||||||
SSH_ASKPASS = "lxqt-openssh-askpass";
|
SSH_ASKPASS = "lxqt-openssh-askpass";
|
||||||
# Enable native wayland support for chromium and electron based applications
|
# Enable native wayland support for chromium and electron based applications
|
||||||
|
|
|
||||||
|
|
@ -92,7 +92,7 @@ in
|
||||||
QT_QPA_PLATFORM = "wayland";
|
QT_QPA_PLATFORM = "wayland";
|
||||||
QT_QPA_PLATFORMTHEME = "qt6ct";
|
QT_QPA_PLATFORMTHEME = "qt6ct";
|
||||||
QT_WAYLAND_DISABLE_WINDOWDECORATION = "1";
|
QT_WAYLAND_DISABLE_WINDOWDECORATION = "1";
|
||||||
SDL_VIDEODRIVER = "wayland";
|
SDL_VIDEODRIVER = "wayland,x11,windows";
|
||||||
_JAVA_AWT_WM_NONREPARENTING = "1";
|
_JAVA_AWT_WM_NONREPARENTING = "1";
|
||||||
SSH_ASKPASS = "lxqt-openssh-askpass";
|
SSH_ASKPASS = "lxqt-openssh-askpass";
|
||||||
# Enable native wayland support for chromium and electron based applications
|
# Enable native wayland support for chromium and electron based applications
|
||||||
|
|
@ -103,7 +103,7 @@ in
|
||||||
QT_QPA_PLATFORM = "wayland";
|
QT_QPA_PLATFORM = "wayland";
|
||||||
QT_QPA_PLATFORMTHEME = "qt6ct";
|
QT_QPA_PLATFORMTHEME = "qt6ct";
|
||||||
QT_WAYLAND_DISABLE_WINDOWDECORATION = "1";
|
QT_WAYLAND_DISABLE_WINDOWDECORATION = "1";
|
||||||
SDL_VIDEODRIVER = "wayland";
|
SDL_VIDEODRIVER = "wayland,x11,windows";
|
||||||
_JAVA_AWT_WM_NONREPARENTING = "1";
|
_JAVA_AWT_WM_NONREPARENTING = "1";
|
||||||
SSH_ASKPASS = lib.mkForce "lxqt-openssh-askpass";
|
SSH_ASKPASS = lib.mkForce "lxqt-openssh-askpass";
|
||||||
# Enable native wayland support for chromium and electron based applications
|
# Enable native wayland support for chromium and electron based applications
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue