nix-home/home/common-linux.nix

20 lines
536 B
Nix
Raw Normal View History

2022-04-20 17:05:02 +00:00
{ pkgs, config, lib, ... }:
with lib; {
imports = [ ./modules/linux/graphical ./modules/X11/xfce4-notifyd.nix ];
config = (mkIf (strings.hasSuffix "linux" pkgs.system) {
## Gnome-keyring
services.gnome-keyring = {
enable = true;
components = [ "pkcs11" "secrets" "ssh" ];
};
services.gpg-agent.enable = true;
2022-04-25 18:34:06 +00:00
services.gpg-agent.pinentryFlavor = "gnome3";
2022-04-27 18:20:22 +00:00
# Git "safe-directory"
programs.git.extraConfig.safe.directory = [
"${config.home.homeDirectory}/.config/nixpkgs"
];
2022-04-20 17:05:02 +00:00
});
}