From f9c5e631366f464a8111d2c109d9246534899fc4 Mon Sep 17 00:00:00 2001 From: Hadi <112569860+anotherhadi@users.noreply.github.com> Date: Thu, 13 Mar 2025 13:52:54 +0100 Subject: [PATCH] attempt to hide tty getty login Former-commit-id: 545c66ebc3151a5a790cd3baa320e4e73ab9ea82 --- nixos/sddm.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/nixos/sddm.nix b/nixos/sddm.nix index 8f71250..a3426f4 100644 --- a/nixos/sddm.nix +++ b/nixos/sddm.nix @@ -24,6 +24,12 @@ in { }; }; + services.getty = { + autologinUser = null; + helpLine = lib.mkForce ""; + }; + systemd.services."getty@tty1".enable = false; + environment.systemPackages = [ sddm-astronaut ]; # To prevent getting stuck at shutdown