Fix regreet docs
This commit is contained in:
parent
35b2ba75b6
commit
7cba9d23a1
2 changed files with 15 additions and 11 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue