Commit 4f4ce02

HPCesia <me@hpcesia.com>
2025-05-31 16:11:03
feat(app): catppuccin theme
1 parent 5566337
Changed files (8)
home/base/gui/terminals/alacritty/default.nix
@@ -1,4 +1,6 @@
-{pkgs, ...}: {
+{...}: {
+  catppuccin.alacritty.enable = true;
+
   programs.alacritty = {
     enable = true;
   };
home/base/gui/terminals/wezterm/default.nix
@@ -1,4 +1,6 @@
-{pkgs, ...}: {
+{...}: {
+  catppuccin.wezterm.enable = true;
+
   programs.wezterm = {
     enable = true;
   };
home/base/tui/editors/helix/default.nix
@@ -1,12 +1,16 @@
 {...}: {
   imports = [./languages.nix];
 
+  catppuccin.helix.enable = true;
+
   programs.helix = {
-    editor = {
-      cursorline = true;
-      color-modes = true;
-      lsp.display-messages = true;
-      indent-guides.render = true;
+    settings = {
+      editor = {
+        cursorline = true;
+        color-modes = true;
+        lsp.display-messages = true;
+        indent-guides.render = true;
+      };
     };
   };
 }
home/linux/gui/vscode/baseExtensions.nix
@@ -6,6 +6,7 @@ with pkgs.vscode-extensions; [
 
   # Appearance
   pkief.material-icon-theme
+  catppuccin.catppuccin-vsc
 
   # Utils
   mhutchie.git-graph
home/linux/gui/vscode/default.nix
@@ -27,6 +27,8 @@ in {
     mutableExtensionsDir = false;
   };
 
+  catppuccin.vscode.enable = true;
+
   # To solve VSCode wants to write settings.json
   # VSCode will reset per reboot/rebuild.
   systemd.user.services.vscode-setup = {
home/linux/gui/default.nix
@@ -1,3 +1,11 @@
-{mylib, ...}: {
-  imports = mylib.scanPaths ./.;
+{
+  mylib,
+  catppuccin,
+  ...
+}: {
+  imports =
+    (mylib.scanPaths ./.)
+    ++ [catppuccin.homeModules.catppuccin];
+
+  catppuccin.flavor = "macchiato";
 }
flake.lock
@@ -1,5 +1,23 @@
 {
   "nodes": {
+    "catppuccin": {
+      "inputs": {
+        "nixpkgs": "nixpkgs"
+      },
+      "locked": {
+        "lastModified": 1748080874,
+        "narHash": "sha256-sUebEzAkrY8Aq5G0GHFyRddmRNGP/a2iTtV7ISNvi/c=",
+        "owner": "catppuccin",
+        "repo": "nix",
+        "rev": "0ba11b12be81f0849a89ed17ab635164ea8f0112",
+        "type": "github"
+      },
+      "original": {
+        "owner": "catppuccin",
+        "repo": "nix",
+        "type": "github"
+      }
+    },
     "flake-parts": {
       "inputs": {
         "nixpkgs-lib": [
@@ -81,16 +99,16 @@
     },
     "nixpkgs": {
       "locked": {
-        "lastModified": 1748437600,
-        "narHash": "sha256-hYKMs3ilp09anGO7xzfGs3JqEgUqFMnZ8GMAqI6/k04=",
-        "owner": "nixos",
+        "lastModified": 1744463964,
+        "narHash": "sha256-LWqduOgLHCFxiTNYi3Uj5Lgz0SR+Xhw3kr/3Xd0GPTM=",
+        "owner": "NixOS",
         "repo": "nixpkgs",
-        "rev": "7282cb574e0607e65224d33be8241eae7cfe0979",
+        "rev": "2631b0b7abcea6e640ce31cd78ea58910d31e650",
         "type": "github"
       },
       "original": {
-        "owner": "nixos",
-        "ref": "nixos-25.05",
+        "owner": "NixOS",
+        "ref": "nixos-unstable",
         "repo": "nixpkgs",
         "type": "github"
       }
@@ -127,6 +145,22 @@
         "type": "github"
       }
     },
+    "nixpkgs_2": {
+      "locked": {
+        "lastModified": 1748437600,
+        "narHash": "sha256-hYKMs3ilp09anGO7xzfGs3JqEgUqFMnZ8GMAqI6/k04=",
+        "owner": "nixos",
+        "repo": "nixpkgs",
+        "rev": "7282cb574e0607e65224d33be8241eae7cfe0979",
+        "type": "github"
+      },
+      "original": {
+        "owner": "nixos",
+        "ref": "nixos-25.05",
+        "repo": "nixpkgs",
+        "type": "github"
+      }
+    },
     "nur": {
       "inputs": {
         "flake-parts": "flake-parts",
@@ -174,10 +208,11 @@
     },
     "root": {
       "inputs": {
+        "catppuccin": "catppuccin",
         "haumea": "haumea",
         "home-manager": "home-manager",
         "nixos-hardware": "nixos-hardware",
-        "nixpkgs": "nixpkgs",
+        "nixpkgs": "nixpkgs_2",
         "nixpkgs-stable": "nixpkgs-stable",
         "nixpkgs-unstable": "nixpkgs-unstable",
         "nur": "nur",
flake.nix
@@ -30,5 +30,7 @@
       url = "github:nix-community/NUR";
       inputs.nixpkgs.follows = "nixpkgs";
     };
+
+    catppuccin.url = "github:catppuccin/nix";
   };
 }