added niri flake

This commit is contained in:
willifan 2024-12-29 14:30:24 +01:00
parent b9c0d470c3
commit 36d90ef1a2
10 changed files with 208 additions and 41 deletions

View file

@ -0,0 +1,18 @@
{ 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;
};
};
}