fixed autologin

This commit is contained in:
2025-01-25 13:35:48 -06:00
parent 34a08bfa31
commit ceb3e40b7d
3 changed files with 14 additions and 17 deletions

View File

@@ -82,6 +82,7 @@
# nmcli device wifi connect EagleNet password '~?C#@ZiH' & # nmcli device wifi connect EagleNet password '~?C#@ZiH' &
hyprctl setcursor Bibata-Modern-Classic 16 & hyprctl setcursor Bibata-Modern-Classic 16 &
wayvnc & wayvnc &
sleep 3
hyprctl reload & hyprctl reload &
novnc & novnc &
'') '')

View File

@@ -46,7 +46,14 @@
enable = true; enable = true;
videoDrivers = ["nvidia"]; videoDrivers = ["nvidia"];
}; };
displayManager.enable = true; displayManager = {
enable = true;
defaultSession = "hyprland";
autoLogin = {
enable = true;
user = "nathan";
};
};
}; };
systemd.extraConfig = "DefaultLimitNOFILE=2048"; systemd.extraConfig = "DefaultLimitNOFILE=2048";
@@ -80,11 +87,11 @@
LC_TIME = "en_US.UTF-8"; LC_TIME = "en_US.UTF-8";
}; };
# services.displayManager.sddm.settings.AutoLogin = { services.displayManager.sddm.settings.AutoLogin = {
# User = "nathan"; User = "nathan";
# Session = "hyprland"; Session = "hyprland";
# Relogin = true; Relogin = true;
# }; };
networking = { networking = {
hostName = "homebox"; hostName = "homebox";

View File

@@ -9,10 +9,6 @@
qt.enable = true; qt.enable = true;
services.displayManager.defaultSession = "hyprland";
services.displayManager.autoLogin.enable = true;
services.displayManager.autoLogin.user = "nathan";
services.displayManager.sddm = { services.displayManager.sddm = {
enable = true; enable = true;
wayland.enable = true; wayland.enable = true;
@@ -24,13 +20,6 @@
libsForQt5.qtquickcontrols2 libsForQt5.qtquickcontrols2
libsForQt5.qtgraphicaleffects libsForQt5.qtgraphicaleffects
]; ];
settings = {
AutoLogin = {
User = "nathan";
Session = "hyprland";
Relogin = true;
};
};
}; };
}; };
} }