added niri flake
This commit is contained in:
parent
b9c0d470c3
commit
36d90ef1a2
10 changed files with 208 additions and 41 deletions
18
modules/default/common/desktop/autostart.nix
Normal file
18
modules/default/common/desktop/autostart.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue