mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-05 19:40:14 +00:00
move more modules to common section
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
{ config, pkgs, ... }: {
|
||||
{ config, pkgs, lib, ... }: {
|
||||
|
||||
home-manager.users.${config.user} = {
|
||||
programs.gpg.enable = true;
|
||||
@ -10,7 +10,7 @@
|
||||
maxCacheTtlSsh = 34560000; # Can never reset
|
||||
pinentryFlavor = "tty";
|
||||
};
|
||||
home.packages = with pkgs; [ pinentry ];
|
||||
home = lib.mkIf config.gui.enable { packages = with pkgs; [ pinentry ]; };
|
||||
};
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user