replace greetd autologin with getty autologin

for some reason my environment wasnt configured properly when launched
through greetd
This commit is contained in:
xunuwu 2025-04-13 11:25:10 +02:00
parent 6b6746b82f
commit 719c099f9b
Signed by: xun
SSH key fingerprint: SHA256:Uot/1WoAjWAeqLOHA5vYy4phhVydsH7jCPmBjaPZfgI
3 changed files with 7 additions and 16 deletions

View file

@ -0,0 +1,6 @@
{
services.getty = {
autologinUser = "xun";
autologinOnce = true;
};
}

View file

@ -13,7 +13,7 @@
./samba-mount.nix ./samba-mount.nix
./wireguard.nix ./wireguard.nix
./restic-server.nix ./restic-server.nix
./greetd.nix ./autologin.nix
inputs.stylix.nixosModules.stylix inputs.stylix.nixosModules.stylix

View file

@ -1,15 +0,0 @@
{
config,
lib,
...
}: {
services.greetd = {
enable = true;
settings = {
default_session = {
command = lib.getExe config.programs.sway.package;
user = "xun";
};
};
};
}