Fix regreet docs

This commit is contained in:
DashieTM 2024-11-09 18:17:27 +01:00
parent 35b2ba75b6
commit 7cba9d23a1
2 changed files with 15 additions and 11 deletions

View file

@ -66,6 +66,7 @@
abbr --add rm 'rip'
abbr --add cp 'fcp'
abbr --add cd 'z'
abbr --add yazi 'y'
set fish_greeting
# pwd based on the value of _ZO_RESOLVE_SYMLINKS.

View file

@ -57,7 +57,6 @@
List of environments that should be available in the login prompt.
'';
};
};
regreet = {
customSettings = lib.mkOption {
default = { };
@ -69,6 +68,7 @@
};
};
};
};
config =
let
@ -135,8 +135,11 @@
# unlock GPG keyring on login
security.pam.services.greetd.enableGnomeKeyring = true;
} // lib.optionalAttrs (options ? home) {
xdg.configFile."regreet/regreet.toml".source = (pkgs.formats.toml { }).generate "regreet" config.mods.regreet.customSettings;
}
// lib.optionalAttrs (options ? home) {
xdg.configFile."regreet/regreet.toml".source =
(pkgs.formats.toml { }).generate "regreet"
config.mods.greetd.regreet.customSettings;
}
);
}