greetd autologin on nixdesk
This commit is contained in:
parent
db55da378b
commit
af4de37e4a
2 changed files with 16 additions and 0 deletions
|
@ -13,6 +13,7 @@
|
|||
./samba-mount.nix
|
||||
./wireguard.nix
|
||||
./restic-server.nix
|
||||
./greetd.nix
|
||||
|
||||
inputs.stylix.nixosModules.stylix
|
||||
|
||||
|
|
15
sys/machines/nixdesk/greetd.nix
Normal file
15
sys/machines/nixdesk/greetd.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
services.greetd = {
|
||||
enable = true;
|
||||
settings = {
|
||||
default_session = {
|
||||
command = lib.getExe config.programs.sway.package;
|
||||
user = "xun";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue