From 39d73d1ed1a99d35f11fcb1dc3116dc31d3e4cda Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Mon, 26 Aug 2024 14:08:17 -0400 Subject: [PATCH] dwm: Add greetd settings Long-term it may be ideal to simply start dwm on tty2. --- specializations/dwm.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/specializations/dwm.nix b/specializations/dwm.nix index 98d75eb0..0dbbfc88 100644 --- a/specializations/dwm.nix +++ b/specializations/dwm.nix @@ -310,5 +310,10 @@ in accelProfile = "flat"; }; }; + + greetd.settings = { + default_session.command = lib.mkForce "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd startx --time-format '%F %R'"; + initial_session.command = lib.mkForce "${pkgs.xorg.xinit}/bin/startx"; + }; }; }