nix-home/home/common-linux.nix

48 lines
1 KiB
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-10-27 19:05:33 +00:00
config = (mkIf pkgs.stdenv.isLinux {
2022-04-28 18:36:43 +00:00
home.packages = with pkgs; [
psmisc # killall and friends
2022-10-31 09:45:03 +00:00
file # Query file type
2022-09-13 14:04:10 +00:00
pinentry-gnome
2022-10-16 21:55:37 +00:00
] ++ (
2022-10-27 19:01:07 +00:00
if pkgs.stdenv.isx86_64
2022-10-17 08:25:15 +00:00
then [
vivaldi
mpv # for anki
pkgs.unstable.anki-bin
]
else [ ]
2022-10-16 21:55:37 +00:00
);
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-10-24 10:59:15 +00:00
# Bluetooth controls
services.mpris-proxy.enable = true;
2022-10-28 09:02:31 +00:00
# Owncloud
services.owncloud-client = {
enable = true;
package = pkgs.unstable.owncloud-client;
};
2022-04-20 17:05:02 +00:00
});
}