added opengl to sys

This commit is contained in:
ooks-io 2023-08-01 21:48:40 +12:00
parent 33a9e5cd65
commit 536eb3facf
4 changed files with 16 additions and 10 deletions

View file

@ -13,7 +13,5 @@
home.username = "ooks"; home.username = "ooks";
home.homeDirectory = "/home/ooks"; home.homeDirectory = "/home/ooks";
home.stateVersion = "23.05"; # Please read the comment before changing.
programs.home-manager.enable = true; programs.home-manager.enable = true;
} }

View file

@ -3,15 +3,12 @@
{ {
home = { home = {
sessionVariables = { sessionVariables = {
EDITOR = "nvim";
BROWSER = "firefox";
TERMINAL = "kitty";
# GTK_IM_MODULE = "fcitx5"; # GTK_IM_MODULE = "fcitx5";
# QT_IM_MODULE = "fcitx5"; # QT_IM_MODULE = "fcitx5";
# XMODIFIERS = "@im=fcitx5"; # XMODIFIERS = "@im=fcitx5";
QT_QPA_PLATFORMTHEME = "gtk3"; #QT_QPA_PLATFORMTHEME = "gtk3";
QT_SCALE_FACTOR = "1"; QT_SCALE_FACTOR = "1";
MOZ_ENABLE_WAYLAND = "1"; #MOZ_ENABLE_WAYLAND = "1";
SDL_VIDEODRIVER = "wayland"; SDL_VIDEODRIVER = "wayland";
_JAVA_AWT_WM_NONREPARENTING = "1"; _JAVA_AWT_WM_NONREPARENTING = "1";
QT_QPA_PLATFORM = "wayland"; QT_QPA_PLATFORM = "wayland";

View file

@ -3,9 +3,10 @@
../standard ../standard
../standard/wayland ../standard/wayland
./tty-init.nix #./tty-init.nix
./binds.nix ./binds.nix
./systemd-fix.nix #./systemd-fix.nix
../env/hypr-variable.nix
]; ];
wayland.windowManager.hyprland = { wayland.windowManager.hyprland = {
@ -66,6 +67,10 @@
"fadeDim,1,3,easeout" "fadeDim,1,3,easeout"
"border,1,3,easeout" "border,1,3,easeout"
]; ];
monitor = [
",prefered,auto,auto"
];
}; };
exec = [ exec = [

View file

@ -60,6 +60,12 @@
enable = true; enable = true;
wlr.enable = true; wlr.enable = true;
}; };
hardware = {
opengl = {
enable = true;
};
};
# gnupg # gnupg
# ------------------------------------------------------------------------------------------------- # -------------------------------------------------------------------------------------------------
@ -127,7 +133,7 @@
enable = false; enable = false;
channel = "https://nixos.org/channels/nix-unstable"; channel = "https://nixos.org/channels/nix-unstable";
}; };
stateVersion = "23.11"; stateVersion = "22.05";
copySystemConfiguration = false; copySystemConfiguration = false;
}; };
} }