diff --git a/modules/nixos/greetd.nix b/modules/nixos/greetd.nix index 6b6ad96..01c1383 100644 --- a/modules/nixos/greetd.nix +++ b/modules/nixos/greetd.nix @@ -70,11 +70,12 @@ in { services.greetd = { enable = true; - settings = { + settings = rec { initial_session = { command = "${pkgs.sway}/bin/sway --config ${swayConfig}"; user = "greeter"; }; + default_session = initial_session; }; };