nix-home/home/common-linux.nix

38 lines
854 B
Nix

{ pkgs, config, lib, ... }:
with lib; {
imports = [
./modules/linux/graphical
./modules/X11/xfce4-notifyd.nix
];
config = (mkIf (strings.hasSuffix "linux" pkgs.system) {
home.packages = with pkgs; [
psmisc # killall and friends
pinentry-gnome
] ++ (
if pkgs.system == "x86-64_linux"
then [
vivaldi
mpv # for anki
pkgs.unstable.anki-bin
]
else [ ]
);
## Gnome-keyring
services.gnome-keyring = {
enable = true;
components = [ "pkcs11" "secrets" "ssh" ];
};
# services.gpg-agent.enable = true;
# services.gpg-agent.pinentryFlavor = "curses";
# services.gpg-agent.enableSshSupport = true;
# Git "safe-directory"
programs.git.extraConfig.safe.directory = [
"${config.home.homeDirectory}/.config/nixpkgs"
];
});
}