dotfiles/home/utils/desktop.nix

75 lines
1.5 KiB
Nix
Raw Normal View History

2024-06-10 16:28:16 +02:00
{ inputs, config, pkgs, ... }:
{
imports = [
(import ./common.nix { inherit inputs config pkgs; })
(import ../hyprland { inherit inputs pkgs; })
2024-07-05 22:46:16 +02:00
(import ../ags { inherit inputs config pkgs; })
2024-06-10 16:28:16 +02:00
../rofi
../alacritty
../kitty
../firefox
../ssh
../mpv
];
2024-06-13 18:04:20 +02:00
2024-06-10 16:28:16 +02:00
home.packages = with pkgs; [
2024-06-13 11:53:29 +02:00
telegram-desktop
webcord
devenv
iwgtk
element-desktop
evince
loupe
2024-07-04 20:03:58 +02:00
file-roller
2024-07-02 19:36:44 +02:00
gimp
obs-studio
inkscape
2024-07-05 01:33:59 +02:00
zip
2024-06-10 16:28:16 +02:00
];
2024-06-13 18:04:20 +02:00
services.kdeconnect = {
enable = true;
package = pkgs.kdePackages.kdeconnect-kde;
indicator = true;
};
2024-07-04 20:03:58 +02:00
programs.thunderbird = {
enable = true;
profiles.default.isDefault = true;
};
2024-06-13 18:04:20 +02:00
gtk = {
enable = true;
theme = {
2024-07-04 20:03:58 +02:00
package = pkgs.gnome-themes-extra;
2024-06-13 18:04:20 +02:00
name = "Adwaita-dark";
};
iconTheme = {
name = "Papirus";
package = pkgs.papirus-icon-theme;
};
};
home.pointerCursor = {
gtk.enable = true;
name = "Adwaita";
size = 28;
2024-07-04 20:03:58 +02:00
package = pkgs.adwaita-icon-theme;
2024-06-13 18:04:20 +02:00
};
services.cliphist = { enable = true; };
2024-06-23 21:51:14 +02:00
xdg.mimeApps = {
enable = true;
defaultApplications = {
"application/pdf" = "org.gnome.Evince.desktop";
"x-scheme-handler/tg" = "org.telegram.desktop.desktop";
"video/*" = "mpv.desktop";
"audio/*" = "mpv.desktop";
};
associations.added = {
"x-scheme-handler/tg" = "org.telegram.desktop.desktop";
};
2024-06-13 18:04:20 +02:00
};
2024-06-10 16:28:16 +02:00
}