fixed autologin
This commit is contained in:
@@ -46,7 +46,14 @@
|
||||
enable = true;
|
||||
videoDrivers = ["nvidia"];
|
||||
};
|
||||
displayManager.enable = true;
|
||||
displayManager = {
|
||||
enable = true;
|
||||
defaultSession = "hyprland";
|
||||
autoLogin = {
|
||||
enable = true;
|
||||
user = "nathan";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
systemd.extraConfig = "DefaultLimitNOFILE=2048";
|
||||
@@ -80,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";
|
||||
|
||||
@@ -9,10 +9,6 @@
|
||||
|
||||
qt.enable = true;
|
||||
|
||||
services.displayManager.defaultSession = "hyprland";
|
||||
services.displayManager.autoLogin.enable = true;
|
||||
services.displayManager.autoLogin.user = "nathan";
|
||||
|
||||
services.displayManager.sddm = {
|
||||
enable = true;
|
||||
wayland.enable = true;
|
||||
@@ -24,13 +20,6 @@
|
||||
libsForQt5.qtquickcontrols2
|
||||
libsForQt5.qtgraphicaleffects
|
||||
];
|
||||
settings = {
|
||||
AutoLogin = {
|
||||
User = "nathan";
|
||||
Session = "hyprland";
|
||||
Relogin = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user