add auto-login module
This commit is contained in:
parent
f839796dc2
commit
1444fd91c8
6 changed files with 28 additions and 44 deletions
13
nixos/programs/auto-login.nix
Normal file
13
nixos/programs/auto-login.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
command: {config, ...}: let
|
||||
user = config.user;
|
||||
in {
|
||||
services.greetd = {
|
||||
enable = true;
|
||||
settings = {
|
||||
default_session = {
|
||||
inherit command;
|
||||
user = user;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue