Skip to content

Commit

Permalink
Reintroduce catppuccin gtk
Browse files Browse the repository at this point in the history
  • Loading branch information
Sigmanificient committed Sep 14, 2024
1 parent f309022 commit 5d41484
Show file tree
Hide file tree
Showing 5 changed files with 53 additions and 16 deletions.
16 changes: 16 additions & 0 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 15 additions & 3 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@
};
};

catppuccin = {
type = "github";
owner = "catppuccin";
repo = "nix";
};

ecsls = {
url = "github:Sigmapitech/ecsls";
inputs = {
Expand Down Expand Up @@ -50,6 +56,7 @@
, pre-commit-hooks
, hosts
, ecsls
, catppuccin
, ...
}:
let
Expand All @@ -65,9 +72,13 @@
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
users.${username} = import ./home;
users.${username}.imports = [
catppuccin.homeManagerModules.catppuccin
./home
];

extraSpecialArgs = {
inherit username system ecsls pkgs;
inherit catppuccin username system ecsls pkgs;
};
};
};
Expand Down Expand Up @@ -104,14 +115,15 @@
mk-system = hostname: specific-modules:
nixpkgs.lib.nixosSystem {
specialArgs = {
inherit username pkgs;
inherit catppuccin username pkgs;
};

modules = [
./system
{ networking.hostName = hostname; }
{ nixpkgs.hostPlatform = system; }
] ++ [
catppuccin.nixosModules.catppuccin
home-manager.nixosModules.home-manager
home-manager-config
] ++ [
Expand Down
6 changes: 6 additions & 0 deletions home/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
{
nixpkgs.config.allowUnfree = true;

catppuccin = {
enable = true;
flavor = "macchiato";
accent = "blue";
};

imports = [
./nvim

Expand Down
18 changes: 7 additions & 11 deletions home/gtk.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@

gtk = {
enable = true;
catppuccin = {
enable = true;
size = "compact";
tweaks = [ "rimless" ];
};

cursorTheme = {
name = "Catppuccin-Macchiato-Dark";
Expand All @@ -21,20 +26,11 @@
name = "Papirus-Dark";
package = pkgs.papirus-icon-theme;
};

theme = {
name = "Catppuccin-Macchiato-Compact-Blue-Dark";
package = pkgs.catppuccin-gtk.override {
accents = [ "blue" ];
size = "compact";
tweaks = [ "rimless" ];
variant = "macchiato";
};
};
};

qt = {
enable = true;
platformTheme.name = "gtk";
platformTheme.name = "kvantum";
style.name = "kvantum";
};
}
11 changes: 9 additions & 2 deletions system/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
{ config, username, pkgs, ... }:
{ username, pkgs, ... }:
{
imports = [ ./polkit.nix ];
imports = [
./polkit.nix
];

catppuccin = {
enable = true;
flavor = "macchiato";
};

boot = {
consoleLogLevel = 0;
Expand Down

0 comments on commit 5d41484

Please sign in to comment.