nix-conf/home.nix

81 lines
1.5 KiB
Nix
Raw Normal View History

2024-08-23 14:52:05 -04:00
{ config, pkgs, ... }:
let
username = "ahnwuoa";
homeDirectory = "/home/${username}";
in
{
home.username = username;
home.homeDirectory = homeDirectory;
home.packages = with pkgs; [
firefox
alacritty
mpv
nsxiv
rofi
sct
maim
xclip
libsForQt5.kcalc
libsForQt5.kolourpaint
libsForQt5.filelight
papirus-icon-theme
pavucontrol
qpwgraph
gdb
lsd
bat
zoxide
fd
ripgrep
fzf
trash-cli
tlrc
micro
speedtest-cli
bluetuith
unixtools.xxd
starship
python3
gnumake
];
qt = {
enable = true;
platformTheme.name = "qtct";
style.name = "breeze";
style.package = pkgs.libsForQt5.breeze-qt5;
};
2024-08-23 16:57:09 -04:00
gtk = {
enable = true;
gtk2.configLocation = "${config.xdg.configHome}/gtk-2.0/gtkrc";
};
home.pointerCursor = {
name = "breeze_cursors";
package = pkgs.libsForQt5.breeze-qt5;
size = 24;
gtk.enable = true;
};
home.file.".icons/default/index.theme".enable = false;
home.file.".icons/breeze_cursors".enable = false;
2024-08-23 16:58:18 -04:00
xdg.mimeApps.enable = true;
xdg.mimeApps.defaultApplications = let
image = "nsxiv.desktop";
browser = "firefox.desktop";
text = "nvim.desktop";
media = "mpv.desktop";
in {
"image/jpeg" = image;
"image/png" = image;
"image/gif" = media;
"audio/mpeg" = media;
"video/mp4" = media;
"video/mpeg" = media;
"text/plain" = text;
"application/xml" = text;
};
2024-08-23 14:52:05 -04:00
home.stateVersion = "24.05";
}