From b3e5a4f9d7cef8a915f4ce48c52cb3354f03a354 Mon Sep 17 00:00:00 2001 From: arne Date: Fri, 17 Jul 2026 11:45:31 +0200 Subject: [PATCH] nixos/regreet: fix docs for `services.greetd` config --- nixos/modules/programs/regreet.nix | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/nixos/modules/programs/regreet.nix b/nixos/modules/programs/regreet.nix index 84781449a0c1..bd5e2821f6a5 100644 --- a/nixos/modules/programs/regreet.nix +++ b/nixos/modules/programs/regreet.nix @@ -15,14 +15,13 @@ in description = '' Enable ReGreet, a clean and customizable greeter for greetd. - To use ReGreet, {option}`services.greetd` has to be enabled and - {option}`services.greetd.settings.default_session` should contain the - appropriate configuration to launch - {option}`config.programs.regreet.package`. For examples, see the - [ReGreet Readme](https://github.com/rharish101/ReGreet#set-as-default-session). + By default enables {option}`services.greetd` and configures a + {command}`default_session` to launch ReGreet using the + {command}`cage` compositor. - A minimal configuration that launches ReGreet in {command}`cage` is - enabled by this module by default. + See the + [ReGreet Readme](https://github.com/rharish101/ReGreet#set-as-default-session) + for other examples. ''; }; @@ -48,8 +47,8 @@ in [ "-s" "-d" "-m" "last" ] ''; description = '' - Additional arguments to be passed to - [cage](https://github.com/cage-kiosk/cage). + Arguments to be passed to [cage](https://github.com/cage-kiosk/cage) + when using it as the default compositor. ''; };