nix-da/home/default.nix

121 lines
2.3 KiB
Nix

{
stateVersion,
username,
homeDirectory,
pkgs,
...
}:
rec {
imports = [
./firefox
./fish
./sway
./neovim
./rofi
./thunderbird
./git
./vscodium
];
dconf = {
enable = true;
settings."org/gnome/desktop/interface".color-scheme = "prefer-dark";
settings."org/virt-manager/virt-manager/connections" = {
autoconnect = [ "qemu:///system" ];
uris = [ "qemu:///system" ];
};
};
services.blueman-applet.enable = true;
qt.platformTheme.name = "gtk";
gtk = {
enable = true;
theme = {
name = "Catppuccin-Frappe-Compact-Lavender-Dark";
package = pkgs.catppuccin-gtk.override {
accents = [ "lavender" ];
size = "compact";
variant = "frappe";
};
};
iconTheme = {
name = "Papirus-Dark";
package = pkgs.catppuccin-papirus-folders.override {
accent = "lavender";
flavor = "frappe";
};
};
cursorTheme = with home.pointerCursor; {
inherit name package size;
};
};
programs.direnv = {
enable = true;
nix-direnv.enable = true;
};
home = {
inherit stateVersion;
inherit username;
inherit homeDirectory;
pointerCursor = {
gtk.enable = true;
x11.enable = true;
name = "catppuccin-frappe-lavender-cursors";
package = pkgs.catppuccin-cursors.frappeLavender;
size = 32;
};
packages =
let
pk = with pkgs; [
digikam
fragments
element-desktop
libreoffice
loupe
gnome.seahorse
gimp
vlc
thunderbird
keepassxc
gnome.nautilus
rofi-power-menu
lollypop
protonmail-bridge-gui
varia
signal-desktop
calibre
# Proprietary
postman
mongodb-compass
obsidian
# CLI tools
delta
fzf
jhead
fdupes
exiftool
sshfs
zip
unzip
lazygit
fd
ripgrep
swaybg
];
scripts = with import ./scripts { inherit pkgs; }; [
screenshot
set-background
nixedit
];
in
scripts ++ pk;
};
}