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; [
|
2022-07-19 19:42:42 +00:00
|
|
|
psmisc # killall and friends
|
2022-09-13 14:04:10 +00:00
|
|
|
|
|
|
|
pinentry-gnome
|
2022-10-16 21:55:37 +00:00
|
|
|
] ++ (
|
|
|
|
if pkgs.system == "x86-64_linux"
|
|
|
|
then [
|
|
|
|
vivaldi
|
|
|
|
mpv # for anki
|
|
|
|
pkgs.unstable.anki-bin
|
|
|
|
]
|
|
|
|
else []
|
|
|
|
);
|
2022-04-28 18:36:43 +00:00
|
|
|
|
2022-04-20 17:05:02 +00:00
|
|
|
## Gnome-keyring
|
|
|
|
services.gnome-keyring = {
|
|
|
|
enable = true;
|
2022-09-12 18:31:15 +00:00
|
|
|
components = [ "pkcs11" "secrets" "ssh" ];
|
2022-04-20 17:05:02 +00:00
|
|
|
};
|
2022-09-12 18:31:15 +00:00
|
|
|
# services.gpg-agent.enable = true;
|
|
|
|
# services.gpg-agent.pinentryFlavor = "curses";
|
|
|
|
# services.gpg-agent.enableSshSupport = true;
|
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
|
|
|
});
|
|
|
|
}
|
|
|
|
|