system/services/regreet: ensure that regreet starts dbus session
This commit is contained in:
parent
fcd88bfa8e
commit
8fef768f4f
1 changed files with 11 additions and 4 deletions
|
@ -16,10 +16,6 @@ in {
|
||||||
programs.regreet = {
|
programs.regreet = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.greetd.regreet;
|
package = pkgs.greetd.regreet;
|
||||||
cageArgs = [
|
|
||||||
"-s"
|
|
||||||
"-d"
|
|
||||||
];
|
|
||||||
settings = {
|
settings = {
|
||||||
background = {
|
background = {
|
||||||
path = mkDefault config.style.wallpaper;
|
path = mkDefault config.style.wallpaper;
|
||||||
|
@ -36,6 +32,17 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.greetd = {
|
||||||
|
enable = true;
|
||||||
|
settings = rec {
|
||||||
|
default_session = {
|
||||||
|
command = "${lib.getExe pkgs.cage} -s -d -- ${lib.getExe config.programs.regreet.package}";
|
||||||
|
user = "greeter";
|
||||||
|
};
|
||||||
|
initial_session = default_session;
|
||||||
|
};
|
||||||
|
};
|
||||||
security.pam.services.greetd = {
|
security.pam.services.greetd = {
|
||||||
enableGnomeKeyring = true;
|
enableGnomeKeyring = true;
|
||||||
fprintAuth = false;
|
fprintAuth = false;
|
||||||
|
|
Loading…
Reference in a new issue