fix: xwayland on legolas

This commit is contained in:
2025-08-25 15:57:26 +02:00
parent e36fae4051
commit 7fec3f76c6
2 changed files with 24 additions and 1 deletions

View File

@@ -602,7 +602,7 @@ let
//Enviroment to be set.
environment {
DISPLAY ":0"
DISPLAY ":1"
ELECTRON_OZONE_PLATFORM_HINT "auto"
}

23
modules/develpackages.nix Normal file
View File

@@ -0,0 +1,23 @@
{
config,
pkgs,
lib,
...
}:
{
imports = [ ];
services.displayManager = {
enable = true;
sessionPackages = with pkgs; [ niri ];
defaultSession = "niri";
sddm = {
enable = true;
autoNumlock = true;
enableHidpi = true;
};
};
}