1
0
Fork 0

Add Catppuccin theme

This commit is contained in:
Ethan Reece 2025-07-13 02:27:24 -05:00
parent fbad68b241
commit 042a340615
Signed by: me
GPG key ID: DD8CE04D5D8FF832
5 changed files with 62 additions and 13 deletions

View file

@ -22,7 +22,8 @@ for this Flake.
by Nix with each language's configuration in its own file. by Nix with each language's configuration in its own file.
- 🤖 **AI**: Uses Nix home-manager integrations for Codex and `aichat` for - 🤖 **AI**: Uses Nix home-manager integrations for Codex and `aichat` for
querying Large Language Models (LLMs) in the CLI and in Git repositories. querying Large Language Models (LLMs) in the CLI and in Git repositories.
- 🎨 **Theming**: Uses Stylix for consistent theming across applications. - 🎨 **Theming**: Uses Catppuccin and Stylix for consistent theming across
applications.
- 📝 **Language tools**: Checks for grammatical and styling issues using Vale, - 📝 **Language tools**: Checks for grammatical and styling issues using Vale,
Harper, LTeX, and Typos, centralizing the custom dictionary for these tools in Harper, LTeX, and Typos, centralizing the custom dictionary for these tools in
the Nix configuration. the Nix configuration.

53
flake.lock generated
View file

@ -67,10 +67,28 @@
"type": "github" "type": "github"
} }
}, },
"devshell": { "catppuccin": {
"inputs": { "inputs": {
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs"
}, },
"locked": {
"lastModified": 1752227483,
"narHash": "sha256-eetITGJfURryoHY5gfuE9/4sEV9aSgzhPxgsQgofNa8=",
"owner": "catppuccin",
"repo": "nix",
"rev": "5f431aac1a4038c385e6de2d2384d943e4802d61",
"type": "github"
},
"original": {
"owner": "catppuccin",
"repo": "nix",
"type": "github"
}
},
"devshell": {
"inputs": {
"nixpkgs": "nixpkgs_2"
},
"locked": { "locked": {
"lastModified": 1741473158, "lastModified": 1741473158,
"narHash": "sha256-kWNaq6wQUbUMlPgw8Y+9/9wP0F8SHkjy24/mN3UAppg=", "narHash": "sha256-kWNaq6wQUbUMlPgw8Y+9/9wP0F8SHkjy24/mN3UAppg=",
@ -250,7 +268,7 @@
"inputs": { "inputs": {
"flake-compat": "flake-compat", "flake-compat": "flake-compat",
"gitignore": "gitignore", "gitignore": "gitignore",
"nixpkgs": "nixpkgs_2" "nixpkgs": "nixpkgs_3"
}, },
"locked": { "locked": {
"lastModified": 1750779888, "lastModified": 1750779888,
@ -381,6 +399,22 @@
} }
}, },
"nixpkgs": { "nixpkgs": {
"locked": {
"lastModified": 1750776420,
"narHash": "sha256-/CG+w0o0oJ5itVklOoLbdn2dGB0wbZVOoDm4np6w09A=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "30a61f056ac492e3b7cdcb69c1e6abdcf00e39cf",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1722073938, "lastModified": 1722073938,
"narHash": "sha256-OpX0StkL8vpXyWOGUD6G+MA26wAXK6SpT94kLJXo6B4=", "narHash": "sha256-OpX0StkL8vpXyWOGUD6G+MA26wAXK6SpT94kLJXo6B4=",
@ -396,7 +430,7 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_2": { "nixpkgs_3": {
"locked": { "locked": {
"lastModified": 1730768919, "lastModified": 1730768919,
"narHash": "sha256-8AKquNnnSaJRXZxc5YmF/WfmxiHX6MMZZasRP6RRQkE=", "narHash": "sha256-8AKquNnnSaJRXZxc5YmF/WfmxiHX6MMZZasRP6RRQkE=",
@ -412,7 +446,7 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_3": { "nixpkgs_4": {
"locked": { "locked": {
"lastModified": 1751949589, "lastModified": 1751949589,
"narHash": "sha256-mgFxAPLWw0Kq+C8P3dRrZrOYEQXOtKuYVlo9xvPntt8=", "narHash": "sha256-mgFxAPLWw0Kq+C8P3dRrZrOYEQXOtKuYVlo9xvPntt8=",
@ -428,7 +462,7 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_4": { "nixpkgs_5": {
"locked": { "locked": {
"lastModified": 1751984180, "lastModified": 1751984180,
"narHash": "sha256-LwWRsENAZJKUdD3SpLluwDmdXY9F45ZEgCb0X+xgOL0=", "narHash": "sha256-LwWRsENAZJKUdD3SpLluwDmdXY9F45ZEgCb0X+xgOL0=",
@ -444,7 +478,7 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_5": { "nixpkgs_6": {
"locked": { "locked": {
"lastModified": 1747958103, "lastModified": 1747958103,
"narHash": "sha256-qmmFCrfBwSHoWw7cVK4Aj+fns+c54EBP8cGqp/yK410=", "narHash": "sha256-qmmFCrfBwSHoWw7cVK4Aj+fns+c54EBP8cGqp/yK410=",
@ -463,7 +497,7 @@
"nur": { "nur": {
"inputs": { "inputs": {
"flake-parts": "flake-parts_2", "flake-parts": "flake-parts_2",
"nixpkgs": "nixpkgs_4" "nixpkgs": "nixpkgs_5"
}, },
"locked": { "locked": {
"lastModified": 1752315995, "lastModified": 1752315995,
@ -506,13 +540,14 @@
}, },
"root": { "root": {
"inputs": { "inputs": {
"catppuccin": "catppuccin",
"devshell": "devshell", "devshell": "devshell",
"flake-parts": "flake-parts", "flake-parts": "flake-parts",
"git-hooks-nix": "git-hooks-nix", "git-hooks-nix": "git-hooks-nix",
"home-manager": "home-manager", "home-manager": "home-manager",
"lix-module": "lix-module", "lix-module": "lix-module",
"nixgl": "nixgl", "nixgl": "nixgl",
"nixpkgs": "nixpkgs_3", "nixpkgs": "nixpkgs_4",
"nur": "nur", "nur": "nur",
"sops-nix": "sops-nix", "sops-nix": "sops-nix",
"stylix": "stylix", "stylix": "stylix",
@ -701,7 +736,7 @@
}, },
"treefmt-nix": { "treefmt-nix": {
"inputs": { "inputs": {
"nixpkgs": "nixpkgs_5" "nixpkgs": "nixpkgs_6"
}, },
"locked": { "locked": {
"lastModified": 1752055615, "lastModified": 1752055615,

View file

@ -1,6 +1,7 @@
{ {
description = "Home Manager configuration"; description = "Home Manager configuration";
inputs = { inputs = {
catppuccin.url = "github:catppuccin/nix";
devshell.url = "github:numtide/devshell"; devshell.url = "github:numtide/devshell";
flake-parts = { flake-parts = {
url = "github:hercules-ci/flake-parts"; url = "github:hercules-ci/flake-parts";
@ -53,6 +54,7 @@
extraSpecialArgs = { inherit inputs pkgs; }; extraSpecialArgs = { inherit inputs pkgs; };
modules = [ modules = [
./home/home.nix ./home/home.nix
inputs.catppuccin.homeManagerModules.catppuccin
inputs.lix-module.nixosModules.default inputs.lix-module.nixosModules.default
inputs.sops-nix.homeManagerModules.sops inputs.sops-nix.homeManagerModules.sops
inputs.stylix.homeModules.stylix inputs.stylix.homeModules.stylix

View file

@ -21,9 +21,13 @@ in
defaultSopsFile = ./secrets/secrets.yaml; defaultSopsFile = ./secrets/secrets.yaml;
age.keyFile = /home/${username}/.config/sops/age/keys.txt; age.keyFile = /home/${username}/.config/sops/age/keys.txt;
}; };
catppuccin = {
enable = true;
flavor = "mocha";
};
stylix = { stylix = {
enable = true; enable = true;
base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-hard.yaml"; base16Scheme = "${pkgs.base16-schemes}/share/themes/catppuccin-mocha.yaml";
image = config.lib.stylix.pixel "base0A"; image = config.lib.stylix.pixel "base0A";
polarity = "dark"; polarity = "dark";
fonts = { fonts = {
@ -44,7 +48,13 @@ in
name = "OpenMoji Color"; name = "OpenMoji Color";
}; };
}; };
targets.floorp.profileNames = [ "main" ]; targets = {
bat.enable = false;
floorp.profileNames = [ "default" ];
fzf.enable = false;
helix.enable = false;
starship.enable = false;
};
}; };
nixGL = { nixGL = {
packages = import inputs.nixgl { packages = import inputs.nixgl {
@ -461,7 +471,7 @@ in
DisplayBookmarksToolbar = "newtab"; DisplayBookmarksToolbar = "newtab";
RequestedLocales = "eo,en-US"; RequestedLocales = "eo,en-US";
}; };
profiles.main = { profiles.default = {
extensions = { extensions = {
force = true; force = true;
packages = with pkgs; [ packages = with pkgs; [

View file

@ -2,6 +2,7 @@
let let
dictionary = [ dictionary = [
"Asahi" "Asahi"
"Catppuccin"
"LLMs" "LLMs"
"LTeX" "LTeX"
"NixOS" "NixOS"