fix(gui): cleaner defaults
This commit is contained in:
parent
395b28609c
commit
49fe8142ad
|
@ -6,22 +6,22 @@
|
||||||
|
|
||||||
config = mkIf config.passthrough.gui {
|
config = mkIf config.passthrough.gui {
|
||||||
# cursor theme
|
# cursor theme
|
||||||
home.pointerCursor = {
|
home.pointerCursor = mkDefault {
|
||||||
package = mkDefault pkgs.bibata-cursors;
|
package = pkgs.bibata-cursors;
|
||||||
name = mkDefault "Bibata-Modern-Classic";
|
name = "Bibata-Modern-Classic";
|
||||||
size = 24;
|
size = 24;
|
||||||
};
|
};
|
||||||
|
|
||||||
# gtk theme
|
# gtk theme
|
||||||
gtk.theme = {
|
gtk.theme = mkDefault {
|
||||||
package = mkDefault pkgs.whitesur-gtk-theme;
|
package = pkgs.whitesur-gtk-theme;
|
||||||
name = mkDefault "WhiteSur-Dark";
|
name = "WhiteSur-Dark";
|
||||||
};
|
};
|
||||||
|
|
||||||
# gtk icons
|
# gtk icons
|
||||||
gtk.iconTheme = {
|
gtk.iconTheme = mkDefault {
|
||||||
package = mkDefault pkgs.papirus-icon-theme;
|
package = pkgs.papirus-icon-theme;
|
||||||
name = mkDefault "Papirus-Dark";
|
name = "Papirus-Dark";
|
||||||
};
|
};
|
||||||
|
|
||||||
# unify qt theme
|
# unify qt theme
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
, config
|
, config
|
||||||
, ... }: with lib; let
|
, ... }: with lib; let
|
||||||
cfg = config.passthrough.vscode;
|
cfg = config.passthrough.vscode;
|
||||||
|
theme = config.passthrough.catppuccin.enable;
|
||||||
in mkIf cfg.enable {
|
in mkIf cfg.enable {
|
||||||
programs.vscode = {
|
programs.vscode = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -15,8 +16,8 @@ in mkIf cfg.enable {
|
||||||
bbenoist.nix golang.go rust-lang.rust-analyzer
|
bbenoist.nix golang.go rust-lang.rust-analyzer
|
||||||
];
|
];
|
||||||
userSettings = {
|
userSettings = {
|
||||||
"workbench.colorTheme" = "Catppuccin Frappé";
|
"workbench.colorTheme" = mkIf theme "Catppuccin Frappé";
|
||||||
"workbench.iconTheme" = "catppuccin-frappe";
|
"workbench.iconTheme" = mkIf theme "catppuccin-frappe";
|
||||||
"[nix]"."editor.tabSize" = 2;
|
"[nix]"."editor.tabSize" = 2;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue