Compare commits
2 commits
974b3c62cc
...
fef22d02b8
Author | SHA1 | Date | |
---|---|---|---|
fef22d02b8 | |||
9576b67d91 |
1 changed files with 9 additions and 3 deletions
|
@ -18,8 +18,14 @@ with lib; {
|
||||||
|
|
||||||
tuigreetCommand = mkOption {
|
tuigreetCommand = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
default = "${pkgs.zsh}/bin/zsh";
|
default = "${pkgs.niri}/bin/niri";
|
||||||
description = "Command to execute after login via tuigreet";
|
description = "Command to execute after login via tuigreet (default: niri)";
|
||||||
|
};
|
||||||
|
|
||||||
|
tuigreetTheme = mkOption {
|
||||||
|
type = types.str;
|
||||||
|
default = "border=magenta;text=cyan;prompt=green;time=red;action=blue;button=yellow;container=black;input=red";
|
||||||
|
description = "Custom theme string for tuigreet (see tuigreet README for options)";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -29,7 +35,7 @@ with lib; {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
default_session = {
|
default_session = {
|
||||||
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd ${config.services.seatd-clean.tuigreetCommand}";
|
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --remember --theme '${config.services.seatd-clean.tuigreetTheme}' --cmd ${config.services.seatd-clean.tuigreetCommand}";
|
||||||
user = "greeter";
|
user = "greeter";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue