Files
Nomarchy/modules/system/sddm.nix
Bernardo Magri 1fa60ed64a fix(vm): increase RAM to 8GB and fix Hyprland rule syntax to prevent crashes
- Increase VM memory to 8192MB to avoid OOM kills during session startup.
- Migrate all 'windowrule' to 'windowrulev2' in core configuration.
- Fix 'no_anim' syntax in layer rules.
- Re-enable graphics while keeping serial logs for debugging.
2026-04-05 14:17:52 +01:00

38 lines
855 B
Nix

{ config, pkgs, lib, ... }:
let
nomarchy-sddm-theme = pkgs.stdenv.mkDerivation {
pname = "nomarchy-sddm-theme";
version = "1.0";
src = ../../assets/sddm/nomarchy;
installPhase = ''
mkdir -p $out/share/sddm/themes/nomarchy
cp -r * $out/share/sddm/themes/nomarchy/
'';
};
in
{
services.xserver.enable = true;
services.displayManager.sddm = {
enable = true;
wayland.enable = true;
# theme = "nomarchy";
};
services.displayManager.defaultSession = lib.mkDefault "hyprland-uwsm";
services.displayManager.autoLogin = {
enable = lib.mkDefault true;
user = lib.mkDefault "nomarchy";
};
environment.systemPackages = [ nomarchy-sddm-theme ];
# Enable Hyprland system-level dependencies
programs.hyprland = {
enable = true;
withUWSM = true;
};
programs.uwsm.enable = true;
}