Skip to content

Commit

Permalink
desktop: Improve hack for autologin
Browse files Browse the repository at this point in the history
  • Loading branch information
juanibiapina committed May 8, 2024
1 parent a4bb73f commit e478fc8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions nix/hosts/desktop/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,10 @@
enable = true;
};

# workarounds for autologin since these dependencies are not properly configured be default
systemd.services.display-manager.wants = [ "systemd-user-sessions.service" "multi-user.target" "network-online.target" ];
systemd.services.display-manager.after = [ "systemd-user-sessions.service" "multi-user.target" "network-online.target" ];
# workarounds for autologin
# https://github.com/NixOS/nixpkgs/issues/103746#issuecomment-945091229
systemd.services."getty@tty1".enable = false;
systemd.services."autovt@tty1".enable = false;

# Enable sound.
sound.enable = true;
Expand Down

0 comments on commit e478fc8

Please sign in to comment.