replace greetd autologin with getty autologin
for some reason my environment wasnt configured properly when launched through greetd
This commit is contained in:
parent
6b6746b82f
commit
719c099f9b
3 changed files with 7 additions and 16 deletions
6
sys/machines/nixdesk/autologin.nix
Normal file
6
sys/machines/nixdesk/autologin.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
services.getty = {
|
||||
autologinUser = "xun";
|
||||
autologinOnce = true;
|
||||
};
|
||||
}
|
|
@ -13,7 +13,7 @@
|
|||
./samba-mount.nix
|
||||
./wireguard.nix
|
||||
./restic-server.nix
|
||||
./greetd.nix
|
||||
./autologin.nix
|
||||
|
||||
inputs.stylix.nixosModules.stylix
|
||||
|
||||
|
|
|
@ -1,15 +0,0 @@
|
|||
{
|
||||
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