114 lines
2.5 KiB
Nix
114 lines
2.5 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; [
|
|
exactaudiocopy
|
|
feishin
|
|
jellyfin-mpv-shim
|
|
joplin-desktop
|
|
lutris
|
|
picard
|
|
qbittorrent
|
|
retroarch-free
|
|
telegram-desktop
|
|
thunderbird
|
|
via
|
|
winetricks
|
|
wineWow64Packages.fonts
|
|
wineWow64Packages.stagingFull
|
|
];
|
|
programs = {
|
|
git.signing = {
|
|
key = osConfig.constants.gpgKeyId;
|
|
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
|
|
];
|
|
};
|
|
obs-studio.enable = true;
|
|
zathura.enable = true;
|
|
};
|
|
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"];
|
|
};
|
|
};
|
|
}
|