mirror of
https://github.com/Jokiller230/puzzlevision.git
synced 2025-01-18 09:53:06 +01:00
fix: resolve catppuccin deprecation warnings, use poppins, and replace host with namespace
This commit is contained in:
parent
d543faff8c
commit
9e3a71b35e
3 changed files with 19 additions and 18 deletions
|
@ -1,17 +1,16 @@
|
|||
{
|
||||
lib,
|
||||
pkgs,
|
||||
host,
|
||||
config,
|
||||
osConfig,
|
||||
namespace,
|
||||
...
|
||||
}: with lib; with lib.${namespace};
|
||||
let
|
||||
cfg = config.${host}.desktop.gnome;
|
||||
cfg = config.${namespace}.desktop.gnome;
|
||||
in
|
||||
{
|
||||
options.${host}.desktop.gnome = with types; {
|
||||
options.${namespace}.desktop.gnome = with types; {
|
||||
enabled-extensions = mkOption {
|
||||
type = listOf package;
|
||||
default = with pkgs.gnomeExtensions; [ dash-to-dock user-themes blur-my-shell appindicator unite color-picker clipboard-history ];
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
accent = "blue";
|
||||
flavor = "macchiato";
|
||||
|
||||
pointerCursor.enable = true;
|
||||
pointerCursor.accent = "blue";
|
||||
pointerCursor.flavor = "macchiato";
|
||||
cursors.enable = true;
|
||||
cursors.accent = "blue";
|
||||
cursors.flavor = "macchiato";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -101,10 +101,10 @@ let
|
|||
'';
|
||||
};
|
||||
|
||||
cfg = config.themes.catppuccin.gtk;
|
||||
cfg = config.${namespace}.themes.catppuccin.gtk;
|
||||
in
|
||||
{
|
||||
options.themes.catppuccin.gtk = { enable = mkEnableOption "Enable the Catppuccin theme for GTK"; };
|
||||
options.${namespace}.themes.catppuccin.gtk = { enable = mkEnableOption "Enable the Catppuccin theme for GTK"; };
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
home.packages = with pkgs; [
|
||||
|
@ -120,17 +120,9 @@ in
|
|||
enable = true;
|
||||
|
||||
font = {
|
||||
name = "Ubuntu";
|
||||
name = "Poppins";
|
||||
size = 12;
|
||||
package = pkgs.ubuntu-sans;
|
||||
};
|
||||
|
||||
catppuccin = {
|
||||
icon = {
|
||||
enable = true;
|
||||
accent = "maroon";
|
||||
flavor = "mocha";
|
||||
};
|
||||
package = pkgs.poppins;
|
||||
};
|
||||
|
||||
theme = {
|
||||
|
@ -150,6 +142,16 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
catppuccin = {
|
||||
gtk = {
|
||||
icon = {
|
||||
enable = true;
|
||||
accent = "maroon";
|
||||
flavor = "mocha";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
dconf.settings = {
|
||||
"org/gnome/shell/extensions/user-theme" = {
|
||||
name = "Colloid-Dark-Catppuccin";
|
||||
|
|
Loading…
Reference in a new issue