change shell config to module, and ghostty also.
This commit is contained in:
parent
19d80c007f
commit
414972925c
8 changed files with 176 additions and 89 deletions
|
|
@ -22,11 +22,19 @@
|
|||
cfg = config.youthlic.programs.gpg;
|
||||
in
|
||||
lib.mkIf cfg.enable {
|
||||
services.gpg-agent = {
|
||||
enable = true;
|
||||
enableSshSupport = true;
|
||||
pinentryPackage = pkgs.pinentry-all;
|
||||
};
|
||||
services.gpg-agent = lib.mkMerge [
|
||||
{
|
||||
enable = true;
|
||||
enableSshSupport = true;
|
||||
pinentryPackage = pkgs.pinentry-all;
|
||||
}
|
||||
(lib.mkIf config.youthlic.programs.fish.enable {
|
||||
enableFishIntegration = true;
|
||||
})
|
||||
(lib.mkIf config.youthlic.programs.bash.enable {
|
||||
enableBashIntegration = true;
|
||||
})
|
||||
];
|
||||
programs.gpg = {
|
||||
enable = true;
|
||||
mutableKeys = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue