nix-config/modules/default/common/desktop/hyprland.nix
2024-12-27 15:08:02 +01:00

18 lines
320 B
Nix

{ lib, config, ... }:
lib.mkIf config.desktop.autologin.enable {
security.pam.services.hyprlock = {};
services.greetd = {
enable = true;
settings = rec {
initial_session = {
command = ''Hyprland'';
user = "willifan";
};
default_session = initial_session;
};
};
}