nixos-config/linux/quasar/gui.nix
2025-07-25 23:21:59 -05:00

155 lines
3.8 KiB
Nix

{
config,
pkgs,
...
}: let
userName = config.constants.userName;
in {
home-manager.users.${userName} = {
config,
osConfig,
pkgs,
...
}: let
xdgCfg = config.xdg;
in {
home.packages = with pkgs; [
feishin
jellyfin-mpv-shim
joplin-desktop
lutris
nvtopPackages.full
picard
qbittorrent
retroarch-free
telegram-desktop
thunderbird
via
winetricks
wineWowPackages.stagingFull
];
programs = {
git.signing = {
key = "0xCE969670FB4B4A56";
signByDefault = true;
};
gpg = {
enable = true;
homedir = "${xdgCfg.dataHome}/gnupg";
};
mpv = {
enable = true;
config = {
border = "no";
osc = "no";
osd-bar = "no";
profile = "gpu-hq";
};
scripts = with pkgs.mpvScripts; [
mpris
thumbfast
uosc
visualizer
vr-reversal
];
scriptOpts.visualizer = {
height = 9;
quality = "veryhigh";
};
};
obs-studio.enable = true;
zathura = {
enable = true;
options = {
completion-bg = "#504945";
completion-fg = "#ebdbb2";
completion-group-bg = "#3c3836";
completion-group-fg = "#928374";
completion-highlight-bg = "#83a598";
completion-highlight-fg = "#504945";
default-bg = "#1d2021";
default-fg = "#ebdbb2";
highlight-active-color = "#fe8019";
highlight-color = "#fabd2f";
index-active-bg = "#83a598";
index-active-fg = "#504945";
index-bg = "#504945";
index-fg = "#ebdbb2";
inputbar-bg = "#1d2021";
inputbar-fg = "#ebdbb2";
notification-bg = "#1d2021";
notification-error-bg = "#1d2021";
notification-error-fg = "#fb4934";
notification-fg = "#b8bb26";
notification-warning-bg = "#1d2021";
notification-warning-fg = "#fabd2f";
recolor = "true";
recolor-darkcolor = "#ebdbb2";
recolor-keephue = "true";
recolor-lightcolor = "#1d2021";
render-loading = "true";
render-loading-bg = "#1d2021";
render-loading-fg = "#ebdbb2";
selection-clipboard = "clipboard";
statusbar-bg = "#504945";
statusbar-fg = "#ebdbb2";
};
};
};
services = {
easyeffects.enable = true;
gpg-agent = {
enable = true;
pinentry.package = pkgs.pinentry-qt;
};
xsettingsd = {
enable = true;
settings = {
"Net/CursorBlinkTime" = 1000;
"Net/CursorBlink" = 1;
"Gdk/UnscaledDPI" = 98304;
"Gdk/WindowScalingFactor" = 2;
"Gtk/EnableAnimations" = 1;
"Gtk/DecorationLayout" = "icon:minimize,maximize,close";
"Net/ThemeName" = "Sweet-Ambar-Blue";
"Gtk/PrimaryButtonWarpsSlider" = 1;
"Gtk/ToolbarStyle" = 3;
"Gtk/MenuImages" = 1;
"Gtk/ButtonImages" = 1;
"Gtk/CursorThemeSize" = 48;
"Gtk/CursorThemeName" = "Sweet-cursors";
"Net/SoundThemeName" = "yorha";
"Net/IconThemeName" = "Sweet-Rainbow";
"Gtk/FontName" = "Noto Sans, 10";
};
};
};
};
i18n.inputMethod = {
enable = true;
type = "fcitx5";
fcitx5.addons = with pkgs; [fcitx5-nord fcitx5-rime];
};
programs = {
dconf.enable = true;
partition-manager.enable = true;
steam.enable = true;
};
services = {
desktopManager.plasma6.enable = true;
displayManager = {
autoLogin.user = userName;
sddm = {
enable = true;
wayland.enable = true;
};
};
xserver = {
enable = true;
videoDrivers = ["amdgpu"];
};
};
}