about summary refs log tree commit diff
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2023-02-15 03:58:21 +0900
committersefidel <contact@sefidel.net>2023-02-15 03:58:21 +0900
commit1366569062b78cd2e92484996af05c58b59aad48 (patch)
tree4282feeb1b01e11035816de2eb03cd17eb6d4fa0
parentd5b06cc0425e14cdd2bfb1fac641d418396f7c6a (diff)
downloadnixrc-1366569062b78cd2e92484996af05c58b59aad48.tar.gz
nixrc-1366569062b78cd2e92484996af05c58b59aad48.zip
feat(nixos/alpha): sync greetd with kompakt
-rw-r--r--nixos/alpha/configuration.nix5
1 files changed, 2 insertions, 3 deletions
diff --git a/nixos/alpha/configuration.nix b/nixos/alpha/configuration.nix
index 9e5c942..58477c0 100644
--- a/nixos/alpha/configuration.nix
+++ b/nixos/alpha/configuration.nix
@@ -27,6 +27,7 @@
     "nohibernate"
     "nmi_watchdog=0"
     "systemd.watchdog-device/dev/watchdog"
+    "console=tty1"
   ];
 
   boot.initrd.supportedFilesystems = [ "zfs" ];
@@ -137,13 +138,11 @@
 
   services.greetd = {
     enable = true;
+    vt = 2;
 
     settings.default_session.command = "${pkgs.greetd.tuigreet}/bin/tuigreet -t -c sway";
   };
 
-  # https://github.com/apognu/tuigreet/issues/17
-  systemd.services.greetd.unitConfig.After = lib.mkOverride 0 [ "multi-user.target" ];
-
   services.journald.extraConfig = lib.mkForce "";
 
   systemd.extraConfig = "RebootWatchdogSec=5";