remove tty disable, update flake, go back to beta driver, switch out sddm as it wasnt working anymore
This commit is contained in:
Christoph Hollizeck 2024-11-10 12:32:50 +01:00
parent 6325aaf5ef
commit 43470a362b
Signed by: Daholli
GPG key ID: 249300664F2AF2C7
4 changed files with 47 additions and 54 deletions

View file

@ -81,11 +81,15 @@ in
};
};
services = {
xserver = enabled;
displayManager.sddm = {
enable = true;
theme = "Elegant";
services.greetd = {
enable = true;
settings = rec {
initial_session = {
command = "${hyprland-package}/bin/Hyprland";
user = "cholli";
};
default_session = initial_session;
};
};
@ -311,18 +315,13 @@ in
environment.sessionVariables = {
NIXOS_OZONE_WL = "1"; # Hint electron apps to use wayland
ELECTRON_OZONE_PLATFORM_HINT = "auto";
XDG_CURRENT_DESKTOP = "Hyprland";
XDG_SESSION_TYPE = "wayland";
XDG_SESSION_DESKTOP = "Hyprland";
QT_AUTO_SCREEN_SCALE_FACTOR = "1";
QT_WAYLAND_DISABLE_WINDOWDECORATION = "1";
QT_QPA_PLATFORM = "wayland;xcb";
ELECTRON_OZONE_PLATFORM_HINT = "auto";
WLR_DRM_NO_ATOMIC = "1";
};
};
}