hyprland doesn't like headless

This commit is contained in:
2025-01-25 18:32:36 -06:00
parent f2979b0b28
commit ad337666ea
2 changed files with 15 additions and 33 deletions

View File

@@ -46,19 +46,16 @@
#enable = true;
videoDrivers = ["nvidia"];
};
#displayManager = {
# enable = true;
# defaultSession = "hyprland-uwsm";
# autoLogin = {
# enable = true;
# user = "nathan";
# };
#};
displayManager = {
enable = true;
defaultSession = "hyprland";
autoLogin = {
enable = true;
user = "nathan";
};
};
};
programs.hyprland.withUWSM = true;
services.getty.autologinUser = "nathan";
systemd.extraConfig = "DefaultLimitNOFILE=2048";
environment.sessionVariables = {
@@ -90,11 +87,11 @@
LC_TIME = "en_US.UTF-8";
};
#services.displayManager.sddm.settings.AutoLogin = {
# User = "nathan";
# Session = "hyprland";
# Relogin = true;
#};
services.displayManager.sddm.settings.AutoLogin = {
User = "nathan";
Session = "hyprland";
Relogin = true;
};
networking = {
hostName = "homebox";
@@ -231,20 +228,6 @@
rofi.enable = true;
firefox.enable = true;
};
config.systemd.user.services.hyprland-autostart = {
Unit = {
Description = "Autostart Hyprland";
};
Service = {
ExecStart = "uwsm start hyprland-uwsm.desktop";
};
Install = {
WantedBy = [ "default.target" ];
};
};
}
];
};
@@ -252,7 +235,7 @@
sysconfig = {
opts = {
sddm.enable = false;
sddm.enable = true;
openssh.enable = true;
pipewire.enable = true;
ags.enable = true;