nix-da/home/default.nix
2024-05-17 07:19:37 +09:00

95 lines
1.7 KiB
Nix

{
stateVersion,
username,
homeDirectory,
pkgs,
...
}:
{
imports = [
./firefox
./fish
./sway
./neovim
./rofi
./thunderbird
./git
];
xdg.configFile."gtk-4.0/gtk.css".source = "${pkgs.catppuccin-gtk}/share/themes/Catppuccin-Frappe-Standard-Blue-Dark/gtk-4.0/gtk.css";
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.enable = true;
qt.platformTheme.name = "gtk";
programs.direnv = {
enable = true;
nix-direnv.enable = true;
};
home = {
inherit stateVersion;
inherit username;
inherit homeDirectory;
packages =
let
pk = with pkgs; [
digikam
fragments
element-desktop
libreoffice
loupe
gnome.seahorse
gimp
calibre
vlc
thunderbird
keepassxc
gnome.nautilus
rofi-power-menu
lollypop
protonmail-bridge-gui
varia
# Proprietary
postman
mongodb-compass
# CLI tools
delta
fzf
jhead
fdupes
exiftool
sshfs
zip
unzip
lazygit
fd
ripgrep
swaybg
];
scripts = with import ./scripts { inherit pkgs; }; [
screenshot
set-background
];
in
scripts ++ pk;
sessionVariables = {
EDITOR = "nvim";
MOZ_ENABLE_WAYLAND = 1;
};
};
}