initial setup
This commit is contained in:
13
root/gnome/display-manager/default.nix
Normal file
13
root/gnome/display-manager/default.nix
Normal file
@ -0,0 +1,13 @@
|
||||
# Gnome Display Manager.
|
||||
{ user, lib, config, ... }:
|
||||
{
|
||||
# Enable GDM only on workstation.
|
||||
services.xserver = lib.mkIf (config.networking.hostName == "Computer-Mo") {
|
||||
displayManager.gdm.enable = true;
|
||||
};
|
||||
# Autologin only on workstation. Not needed on konsole or steamdeck. Jovian Greeter is being used.
|
||||
services.displayManager = lib.mkIf (config.networking.hostName == "Computer-Mo") {
|
||||
autoLogin.enable = true;
|
||||
autoLogin.user = user;
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user