catppuccin: (WIP) init theming
This commit is contained in:
parent
275d77ab13
commit
d44632e1f5
4 changed files with 84 additions and 0 deletions
|
@ -10,6 +10,10 @@
|
||||||
url = "github:nix-community/home-manager";
|
url = "github:nix-community/home-manager";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
catppuccin = {
|
||||||
|
url = "github:catppuccin/nix";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
impermanence.url = "github:nix-community/impermanence";
|
impermanence.url = "github:nix-community/impermanence";
|
||||||
flake-utils.url = "github:numtide/flake-utils";
|
flake-utils.url = "github:numtide/flake-utils";
|
||||||
mailserver.url = "gitlab:/simple-nixos-mailserver/nixos-mailserver";
|
mailserver.url = "gitlab:/simple-nixos-mailserver/nixos-mailserver";
|
||||||
|
|
19
services/catppuccin.nix
Normal file
19
services/catppuccin.nix
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
catppuccin,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
with lib;
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
catppuccin.nixosModules.catppuccin
|
||||||
|
];
|
||||||
|
}
|
||||||
|
// mkIf (elem "catppuccin" config.machine.services) {
|
||||||
|
catppuccin = {
|
||||||
|
enable = true;
|
||||||
|
flavor = "mocha";
|
||||||
|
};
|
||||||
|
}
|
|
@ -4,6 +4,7 @@
|
||||||
pkgs,
|
pkgs,
|
||||||
config,
|
config,
|
||||||
home-manager,
|
home-manager,
|
||||||
|
catppuccin,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
with lib;
|
with lib;
|
||||||
|
@ -40,6 +41,7 @@ with lib;
|
||||||
}) config.machine.users
|
}) config.machine.users
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
inherit catppuccin;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
59
services/home/catppuccin.nix
Normal file
59
services/home/catppuccin.nix
Normal file
|
@ -0,0 +1,59 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
catppuccin,
|
||||||
|
users,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
catppuccin.homeModules.catppuccin
|
||||||
|
];
|
||||||
|
}
|
||||||
|
// lib.mkIf (lib.elem "catppuccin" users."${config.home.username}".services) {
|
||||||
|
catppuccin = {
|
||||||
|
enable = true;
|
||||||
|
flavor = "mocha";
|
||||||
|
};
|
||||||
|
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
(catppuccin-kvantum.override {
|
||||||
|
accent = "blue";
|
||||||
|
variant = "mocha";
|
||||||
|
})
|
||||||
|
libsForQt5.qtstyleplugin-kvantum
|
||||||
|
libsForQt5.qt5ct
|
||||||
|
];
|
||||||
|
|
||||||
|
qt = {
|
||||||
|
enable = true;
|
||||||
|
platformTheme.name = "kvantum";
|
||||||
|
style.name = "kvantum";
|
||||||
|
};
|
||||||
|
|
||||||
|
# xdg.configFile."Kvantum/kvantum.kvconfig".source =
|
||||||
|
# (pkgs.formats.ini { }).generate "kvantum.kvconfig"
|
||||||
|
# {
|
||||||
|
# General.theme = "Catppuccin-Mocha-Blue";
|
||||||
|
# };
|
||||||
|
|
||||||
|
# gtk
|
||||||
|
gtk = {
|
||||||
|
enable = true;
|
||||||
|
iconTheme = {
|
||||||
|
name = "SolArc-Dark";
|
||||||
|
package = pkgs.solarc-gtk-theme;
|
||||||
|
};
|
||||||
|
theme = {
|
||||||
|
name = "catppuccin-mocha-blue-standard+rimless";
|
||||||
|
package = pkgs.catppuccin-gtk.override {
|
||||||
|
accents = [ "blue" ];
|
||||||
|
tweaks = [ "rimless" ];
|
||||||
|
variant = "mocha";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue