From 1583ad75eeb883a6aea3cb951f907fab2291e698 Mon Sep 17 00:00:00 2001 From: 4DBug <4DBug@github.com> Date: Fri, 27 Feb 2026 09:15:01 -0600 Subject: [PATCH] push --- flake.nix | 2 ++ modules/core/theme/catppuccin.nix | 35 +++++++++++++++++++++ modules/{software => core/theme}/stylix.nix | 0 modules/hosts/box/box.nix | 1 + modules/hosts/laptop/laptop.nix | 1 + modules/hosts/nix/nix.nix | 1 + 6 files changed, 40 insertions(+) create mode 100644 modules/core/theme/catppuccin.nix rename modules/{software => core/theme}/stylix.nix (100%) diff --git a/flake.nix b/flake.nix index edf6e14..582e01d 100644 --- a/flake.nix +++ b/flake.nix @@ -26,5 +26,7 @@ nix-flatpak.url = "github:gmodena/nix-flatpak/?ref=latest"; copyparty.url = "github:9001/copyparty"; + + catppuccin.url = "github:catppuccin/nix"; }; } diff --git a/modules/core/theme/catppuccin.nix b/modules/core/theme/catppuccin.nix new file mode 100644 index 0000000..08e5b20 --- /dev/null +++ b/modules/core/theme/catppuccin.nix @@ -0,0 +1,35 @@ +{ inputs, ... }: let + flavor = "mocha"; + accent = "mauve"; +in { + den.aspects.catppuccin = { + nixos = { + imports = [ inputs.nix-flatpak.nixosModules.nix-flatpak ]; + + catppuccin = { + enable = true; + flavor = flavor; + accent = accent; + + grub.enable = true; + gitea.enable = true; + }; + }; + + homeManager = { + imports = [ inputs.catppuccin.nixosModules.catppuccin ]; + + catppuccin = { + enable = true; + flavor = flavor; + accent = accent; + + firefox.enable = true; + fish.enable = true; + librewolf.enable = true; + vesktop.enable = true; + zed.enable = true; + }; + }; + }; +} diff --git a/modules/software/stylix.nix b/modules/core/theme/stylix.nix similarity index 100% rename from modules/software/stylix.nix rename to modules/core/theme/stylix.nix diff --git a/modules/hosts/box/box.nix b/modules/hosts/box/box.nix index 45e1ea1..c2875a6 100644 --- a/modules/hosts/box/box.nix +++ b/modules/hosts/box/box.nix @@ -20,6 +20,7 @@ dns openssh gitea + catppuccin (tunnel 3001 "tvtun") (tunnel 8888 "search") diff --git a/modules/hosts/laptop/laptop.nix b/modules/hosts/laptop/laptop.nix index 04d33a9..5aaa444 100644 --- a/modules/hosts/laptop/laptop.nix +++ b/modules/hosts/laptop/laptop.nix @@ -23,6 +23,7 @@ dns openssh beets + catppuccin ]; nixos = { diff --git a/modules/hosts/nix/nix.nix b/modules/hosts/nix/nix.nix index 0a1aac1..3b262c9 100644 --- a/modules/hosts/nix/nix.nix +++ b/modules/hosts/nix/nix.nix @@ -24,6 +24,7 @@ dns openssh beets + catppuccin ]; nixos = {