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.homeDirectory = "/home/ooks";
home.stateVersion = "23.05"; # Please read the comment before changing.
programs.home-manager.enable = true;
}

View file

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

View file

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

View file

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