nix-home/home/common-linux.nix

27 lines
608 B
Nix
Raw Normal View History

2022-04-20 17:05:02 +00:00
{ pkgs, config, lib, ... }:
with lib; {
2022-04-28 16:43:52 +00:00
imports = [
./modules/linux/graphical
./modules/X11/xfce4-notifyd.nix
];
2022-04-20 17:05:02 +00:00
config = (mkIf (strings.hasSuffix "linux" pkgs.system) {
2022-04-28 18:36:43 +00:00
home.packages = with pkgs; [
unfree.vivaldi
];
2022-04-20 17:05:02 +00:00
## 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
});
}