home: Add greetd
This commit is contained in:
parent
2c8d1522b1
commit
2227318450
|
@ -1,4 +0,0 @@
|
|||
{
|
||||
# Allow swaylock to talk to PAM
|
||||
security.pam.services.swaylock = { };
|
||||
}
|
20
modules/sway.nix
Normal file
20
modules/sway.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
# enable sway, so we have a swaylock pam config
|
||||
programs.sway.enable = true;
|
||||
|
||||
# autologin
|
||||
services.greetd = {
|
||||
enable = true;
|
||||
settings = {
|
||||
default_session = {
|
||||
command = "sway";
|
||||
user = "fleaz";
|
||||
};
|
||||
initial_session = {
|
||||
command = "sway";
|
||||
user = "fleaz";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -12,7 +12,6 @@ in
|
|||
../modules/earlyoom.nix
|
||||
../modules/fonts.nix
|
||||
../modules/opengl.nix
|
||||
../modules/pam.nix
|
||||
../modules/sound.nix
|
||||
../modules/ssh.nix
|
||||
../modules/steam.nix
|
||||
|
@ -23,6 +22,7 @@ in
|
|||
../modules/samba.nix
|
||||
../modules/gc.nix
|
||||
../modules/headscale.nix
|
||||
../modules/sway.nix
|
||||
|
||||
../secrets/remote-builder.nix
|
||||
../users/fleaz.nix
|
||||
|
|
Loading…
Reference in a new issue