Skip to content

Commit

Permalink
refactor: update flake
Browse files Browse the repository at this point in the history
* move to catppuccin namespace (catppuccin/nix#371)
  • Loading branch information
42willow committed Dec 26, 2024
1 parent 35e8d49 commit 08a925e
Show file tree
Hide file tree
Showing 12 changed files with 71 additions and 66 deletions.
36 changes: 18 additions & 18 deletions flake.lock

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

4 changes: 0 additions & 4 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@
self,
nixpkgs,
home-manager,
catppuccin,
...
} @ inputs: let
username = "willow";
Expand All @@ -74,7 +73,6 @@
system = "x86_64-linux";
modules = [
./hosts/earthy
catppuccin.nixosModules.catppuccin
home-manager.nixosModules.home-manager
];
specialArgs = {
Expand All @@ -86,7 +84,6 @@
system = "aarch64-linux";
modules = [
./hosts/anemone
catppuccin.nixosModules.catppuccin
home-manager.nixosModules.home-manager
];
specialArgs = {
Expand All @@ -98,7 +95,6 @@
system = "x86_64-linux";
modules = [
./hosts/lily
catppuccin.nixosModules.catppuccin
home-manager.nixosModules.home-manager
];
specialArgs = {
Expand Down
8 changes: 6 additions & 2 deletions modules/themes/catppuccin.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
{catppuccin, ...}: {
{inputs, ...}: {
imports = [
inputs.catppuccin.nixosModules.catppuccin
];
catppuccin = {
flavor = "macchiato";
accent = "pink";

tty.enable = true;
};
console.catppuccin.enable = true;
}
2 changes: 1 addition & 1 deletion users/willow/pkgs/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# TODO: whiskers
# catppuccin-whiskers.packages.${pkgs.system}.whiskers
catppuccin-catwalk.packages.${pkgs.system}.catwalk
inputs.zen-browser.packages."${pkgs.system}".specific
inputs.zen-browser.packages."${pkgs.system}".default
]
++ (with inputs.nixpkgs-unstable.legacyPackages.${pkgs.system}; [
calibre # ebooks
Expand Down
1 change: 0 additions & 1 deletion users/willow/pkgs/gui/hyprland/settings.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{...}: {
wayland.windowManager.hyprland.catppuccin.enable = true;
wayland.windowManager.hyprland.settings = {
# See https://wiki.hyprland.org/Configuring/

Expand Down
1 change: 0 additions & 1 deletion users/willow/pkgs/gui/obs-studio.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,5 @@
plugins = with pkgs.obs-studio-plugins; [
wlrobs
];
catppuccin.enable = true;
};
}
5 changes: 1 addition & 4 deletions users/willow/pkgs/tui/yazi.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
{...}: {
programs.yazi = {
enable = true;
catppuccin.enable = true;
};
programs.yazi.enable = true;
}
17 changes: 17 additions & 0 deletions users/willow/themes/catppuccin.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
pkgs,
inputs,
...
}: {
imports = [
inputs.catppuccin.homeManagerModules.catppuccin
];

catppuccin = {
flavor = "macchiato";
accent = "pink";

enable = true;
};

}
34 changes: 0 additions & 34 deletions users/willow/themes/ctp.nix

This file was deleted.

4 changes: 3 additions & 1 deletion users/willow/themes/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{...}: {
imports = [
./ctp.nix
./catppuccin.nix
./gtk.nix
./qt.nix
./stylix.nix
];
}
16 changes: 16 additions & 0 deletions users/willow/themes/gtk.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
pkgs,
inputs,
...
}: {
gtk = {
enable = true;
iconTheme = {
name = "Papirus-Dark";
package = pkgs.catppuccin-papirus-folders.override {
flavor = "macchiato";
accent = "pink";
};
};
};
}
9 changes: 9 additions & 0 deletions users/willow/themes/qt.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{...}: {
qt = {
enable = true;
platformTheme.name = "kvantum";
style = {
name = "kvantum";
};
};
}

0 comments on commit 08a925e

Please sign in to comment.