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 rm 'rip'
|
||||||
abbr --add cp 'fcp'
|
abbr --add cp 'fcp'
|
||||||
abbr --add cd 'z'
|
abbr --add cd 'z'
|
||||||
|
abbr --add yazi 'y'
|
||||||
|
|
||||||
set fish_greeting
|
set fish_greeting
|
||||||
# pwd based on the value of _ZO_RESOLVE_SYMLINKS.
|
# pwd based on the value of _ZO_RESOLVE_SYMLINKS.
|
||||||
|
|
|
||||||
|
|
@ -57,7 +57,6 @@
|
||||||
List of environments that should be available in the login prompt.
|
List of environments that should be available in the login prompt.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
|
||||||
regreet = {
|
regreet = {
|
||||||
customSettings = lib.mkOption {
|
customSettings = lib.mkOption {
|
||||||
default = { };
|
default = { };
|
||||||
|
|
@ -69,6 +68,7 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
};
|
||||||
|
|
||||||
config =
|
config =
|
||||||
let
|
let
|
||||||
|
|
@ -135,8 +135,11 @@
|
||||||
|
|
||||||
# unlock GPG keyring on login
|
# unlock GPG keyring on login
|
||||||
security.pam.services.greetd.enableGnomeKeyring = true;
|
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