rename common module to nixos
This commit is contained in:
parent
68cc9cbc1d
commit
f22fddbd3e
60 changed files with 1 additions and 1 deletions
18
modules/default/nixos/desktop/autostart.nix
Normal file
18
modules/default/nixos/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