18 lines
336 B
Nix
18 lines
336 B
Nix
{ lib, config, ... }:
|
|
lib.mkIf config.desktop.autologin.enable {
|
|
|
|
security.pam.services.hyprlock = { };
|
|
|
|
|
|
services.greetd = {
|
|
enable = true;
|
|
settings = rec {
|
|
initial_session = {
|
|
command = config.desktop.windowManager;
|
|
user = "willifan";
|
|
};
|
|
default_session = initial_session;
|
|
};
|
|
};
|
|
|
|
}
|