Initialize quasar
This commit is contained in:
parent
60579facc7
commit
211af9bd61
15 changed files with 616 additions and 72 deletions
152
linux/quasar/gui.nix
Normal file
152
linux/quasar/gui.nix
Normal file
|
|
@ -0,0 +1,152 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
userName = config.constants.userName;
|
||||
in {
|
||||
home-manager.users.${userName} = {
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
xdgCfg = config.xdg;
|
||||
in {
|
||||
home.packages = with pkgs; [
|
||||
element-desktop
|
||||
feishin
|
||||
jellyfin-mpv-shim
|
||||
joplin-desktop
|
||||
lutris
|
||||
nvtopPackages.amd
|
||||
picard
|
||||
qbittorrent
|
||||
razergenie
|
||||
ryujinx
|
||||
telegram-desktop
|
||||
thunderbird
|
||||
via
|
||||
winetricks
|
||||
wineWowPackages.stagingFull
|
||||
];
|
||||
programs = {
|
||||
# git.signing = {
|
||||
# key = "0x6A815D4CB1637AAC";
|
||||
# signByDefault = true;
|
||||
# };
|
||||
gpg = {
|
||||
enable = true;
|
||||
homedir = "${xdgCfg.dataHome}/gnupg";
|
||||
};
|
||||
mpv = {
|
||||
enable = true;
|
||||
config = {
|
||||
osd-bar = "no";
|
||||
border = "no";
|
||||
};
|
||||
scripts = with pkgs.mpvScripts; [
|
||||
mpris
|
||||
thumbfast
|
||||
uosc
|
||||
vr-reversal
|
||||
];
|
||||
};
|
||||
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;
|
||||
pinentryPackage = pkgs.pinentry-qt;
|
||||
};
|
||||
xsettingsd = {
|
||||
enable = true;
|
||||
settings = {
|
||||
"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" = 96;
|
||||
"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;
|
||||
# TODO: Enable when it's fixed
|
||||
kde-pim = {
|
||||
enable = true;
|
||||
merkuro = 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"];
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue