phantom-ship: Catppuccin theme for Forgejo (mocha + mauve)

Adds catppuccin flake input and wires its NixOS module into phantom-ship's
imports via clan.nix. Enables catppuccin.forgejo with mocha flavor + mauve
accent on the running Forgejo instance.

Module ref: https://nix.catppuccin.com/options/main/nixos/catppuccin.forgejo/
This commit is contained in:
DannyDannyDanny 2026-05-20 18:44:51 +02:00
parent 0f34d2508d
commit 0c11628f73
4 changed files with 36 additions and 0 deletions

View file

@ -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

21
flake.lock generated
View file

@ -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",

View file

@ -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";

View file

@ -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).
}