diff --git a/flake-modules/clan.nix b/flake-modules/clan.nix index 6b4a5d0..d8fe760 100644 --- a/flake-modules/clan.nix +++ b/flake-modules/clan.nix @@ -167,6 +167,7 @@ in { } clanHostsModule inputs.nix-openclaw.nixosModules.openclaw-gateway + inputs.catppuccin.nixosModules.catppuccin ../nixos/hosts/phantom-ship.nix config.flake.nixosModules.dotfiles-rebuild config.flake.nixosModules.server-debug-tools diff --git a/flake.lock b/flake.lock index c524fd2..6ae35fc 100644 --- a/flake.lock +++ b/flake.lock @@ -1,5 +1,25 @@ { "nodes": { + "catppuccin": { + "inputs": { + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1779125773, + "narHash": "sha256-F34zmAgMQXHwvFb9SpCilX4cAIfF4+KvpzrJqnkNLJE=", + "owner": "catppuccin", + "repo": "nix", + "rev": "86996e2c4ee6a091fddb10de56dd21a1a5972bcb", + "type": "github" + }, + "original": { + "owner": "catppuccin", + "repo": "nix", + "type": "github" + } + }, "clan-community": { "inputs": { "clan-core": [ @@ -500,6 +520,7 @@ }, "root": { "inputs": { + "catppuccin": "catppuccin", "clan-community": "clan-community", "clan-core": "clan-core", "disko": "disko_2", diff --git a/flake.nix b/flake.nix index 30e7d71..b0b6579 100644 --- a/flake.nix +++ b/flake.nix @@ -25,6 +25,12 @@ nix-openclaw.url = "github:openclaw/nix-openclaw"; nix-openclaw.inputs.nixpkgs.follows = "nixpkgs"; + # Catppuccin NixOS module — used for theming Forgejo (and any future + # NixOS-level services). Home-manager/neovim/alacritty Catppuccin lives + # outside this input (separate nixpkgs packages). + catppuccin.url = "github:catppuccin/nix"; + catppuccin.inputs.nixpkgs.follows = "nixpkgs"; + clan-core.url = "https://git.clan.lol/clan/clan-core/archive/main.tar.gz"; clan-core.inputs.nixpkgs.follows = "nixpkgs"; clan-core.inputs.flake-parts.follows = "flake-parts"; diff --git a/nixos/hosts/phantom-ship.nix b/nixos/hosts/phantom-ship.nix index 90886cc..d3ebf6f 100644 --- a/nixos/hosts/phantom-ship.nix +++ b/nixos/hosts/phantom-ship.nix @@ -581,6 +581,14 @@ in }; }; + # Catppuccin theme for Forgejo — module wired in via clan.nix's + # phantom-ship.imports (inputs.catppuccin.nixosModules.catppuccin). + catppuccin.forgejo = { + enable = true; + flavor = "mocha"; + accent = "mauve"; + }; + # Auto-rebuild service/timer + safe.directory provided by the # shared dotfiles-rebuild NixOS module (see nixos/modules/dotfiles-rebuild.nix). }