nix/home/desktop/default.nix

139 lines
2.7 KiB
Nix
Raw Normal View History

2021-10-07 18:36:34 +02:00
{pkgs, ...}:
{
2023-08-20 12:10:14 +02:00
imports = [../default.nix];
2021-12-13 22:49:23 +01:00
2021-10-07 18:36:34 +02:00
home.sessionVariables = {
NIXOS_OZONE_WL = "1";
2023-03-20 22:59:54 +01:00
BROWSER = "firefox";
GDK_BACKEND = "wayland";
MOZ_ENABLE_WAYLAND = "1";
MOZ_WEBRENDER = "1";
2021-10-07 18:36:34 +02:00
};
2021-10-07 19:02:57 +02:00
fonts.fontconfig.enable = true;
2021-10-07 18:36:34 +02:00
home.packages = with pkgs; [
# env
libnotify
mpv
pavucontrol
2021-10-08 04:20:45 +02:00
# glib gsettings-desktop-schemas - # run gsettings for gnome
2021-10-07 19:02:57 +02:00
noto-fonts
noto-fonts-emoji
powerline-fonts
2021-10-07 18:36:34 +02:00
line-awesome
2021-10-08 16:44:57 +02:00
yubikey-manager
# yubikey-personalization
2021-10-07 18:36:34 +02:00
pinentry-gnome
2021-10-07 22:33:27 +02:00
# dbus
gcr
2022-01-23 22:45:17 +01:00
dconf
# gotify-desktop # use ntfy.sh instatt
2021-10-07 18:36:34 +02:00
# apps
2021-10-13 17:33:03 +02:00
virt-manager
2023-06-14 18:41:21 +02:00
openlens
2022-04-08 19:54:04 +02:00
evince
2022-02-23 22:13:52 +01:00
gthumb
2021-10-07 19:44:28 +02:00
gnome.seahorse
2021-10-15 11:56:03 +02:00
gnome.cheese
2021-10-08 16:44:57 +02:00
nextcloud-client
dino # xmpp
onlyoffice-bin
libreoffice-fresh
2022-04-08 20:10:51 +02:00
inkscape
gimp
2021-10-07 22:33:27 +02:00
homebank
# ahnen
(gramps.override {
enableOSM = true;
enableGraphviz = true;
enableGhostscript = true;
# pythonPath = [ pythonPackages.keyring ];
})
python310Packages.keyring
graphviz-nox
2023-06-14 18:41:21 +02:00
tootle # mastodon
# fractal # matrix
2023-06-14 18:41:21 +02:00
fractal-next
2023-08-20 12:10:14 +02:00
# fluffychat
cozy # audiobooks
2021-10-07 18:36:34 +02:00
];
2021-10-07 22:33:27 +02:00
gtk = {
enable = true;
theme = {
# package = pkgs.yaru-theme;
# name = "Yaru-dark";
# package = pkgs.flat-remix-gtk;
# name = "Flat-Remix-GTK-Blue-Darkest";
2021-11-06 13:10:53 +01:00
# name = "Flat-Remix-GTK-Blue-Darkest-NoBorder";
# name = "Flat-Remix-GTK-Blue-Darker";
package = pkgs.colloid-gtk-theme.override {
sizeVariants = [ "compact" ];
tweaks = [ "black" "rimless" ];
themeVariants = [ "all" ];
};
name = "Colloid-Compact";
2021-10-07 22:33:27 +02:00
};
2021-10-08 04:21:04 +02:00
iconTheme = {
package = pkgs.yaru-theme;
name = "Yaru";
# package = pkgs.flat-remix-icon-theme;
# name = "Flat-Remix-Violet-Dark";
2021-10-08 04:21:04 +02:00
};
2021-10-07 22:33:27 +02:00
};
2021-10-07 18:36:34 +02:00
programs.gpg = {
enable = true;
scdaemonSettings = {
disable-ccid = true;
};
2021-10-07 18:36:34 +02:00
settings = {
keyserver = "hkps://keys.openpgp.org";
};
};
services.gnome-keyring.enable = true;
services.gpg-agent = {
enable = true;
enableSshSupport = true;
pinentryFlavor = "gnome3";
};
2021-10-08 16:44:57 +02:00
2021-10-07 19:02:57 +02:00
programs.browserpass = {
enable = true;
browsers = ["firefox"];
};
2023-03-20 22:59:54 +01:00
programs.librewolf = {
enable = false;
settings = {
"privacy.clearOnShutdown.history" = false;
"privacy.clearOnShutdown.downloads" = false;
"browser.sessionstore.privacy_level" = 0;
};
};
2021-10-07 19:02:57 +02:00
programs.firefox = {
enable = true;
2023-03-20 22:59:54 +01:00
# nixos not home-manager
# nativeMessagingHosts = {
# fxCast = true;
#};
# package = pkgs.firefox-beta-bin;
# # package = pkgs.firefox-devedition-bin;
# package = pkgs.librewolf;
2021-10-07 19:02:57 +02:00
};
2023-06-14 18:41:21 +02:00
programs.thunderbird = {
enable = true;
package = pkgs.thunderbird-wayland;
settings = {
"general.useragent.override" = "";
"privacy.donottrackheader.enabled" = true;
2023-07-07 23:22:02 +02:00
"mailnews.mark_message_read.auto" = false;
2023-06-14 18:41:21 +02:00
};
profiles.default = {
isDefault = true;
withExternalGnupg = true;
};
};
2021-10-07 18:36:34 +02:00
}