From e352cb9cdafe0c482494151fd35d53ed05f62204 Mon Sep 17 00:00:00 2001 From: chase Date: Fri, 30 May 2025 16:17:12 -0400 Subject: [PATCH] Add catppuccin --- flake.nix | 20 +++++++++++++++++--- home/home.nix | 9 +++++++-- 2 files changed, 24 insertions(+), 5 deletions(-) diff --git a/flake.nix b/flake.nix index aa9d7ce..30081f3 100644 --- a/flake.nix +++ b/flake.nix @@ -8,6 +8,7 @@ url = "github:nix-community/NUR"; inputs.nixpkgs.follows = "nixpkgs"; }; + catppuccin.url = "github:catppuccin/nix"; home-manager = { url = "github:nix-community/home-manager"; inputs.nixpkgs.follows = "nixpkgs"; @@ -33,14 +34,21 @@ ./hosts/anzu/hardware-configuration.nix # Add NUR overlay nur.modules.nixos.default + # Add catppuccin + catppuccin.nixosModules.catppuccin # Add home-manager home-manager.nixosModules.home-manager { home-manager.backupFileExtension = "backup"; home-manager.useGlobalPkgs = true; home-manager.sharedModules = [ plasma-manager.homeManagerModules.plasma-manager ]; - home-manager.users.chase = ./home/home.nix; - } + home-manager.users.chase = { + imports = [ + ./home/home.nix; + catppuccin.homeManagerModules.catppuccin + ]; + }; + }; ]; }; ichigo = nixpkgs.lib.nixosSystem { @@ -50,12 +58,18 @@ ./configuration.nix ./hosts/ichigo/hardware-configuration.nix nur.modules.nixos.default + catppuccin.nixosModules.catppuccin home-manager.nixosModules.home-manager { home-manager.backupFileExtension = "backup"; home-manager.useGlobalPkgs = true; home-manager.sharedModules = [ plasma-manager.homeManagerModules.plasma-manager ]; - home-manager.users.chase = ./home/home.nix; + home-manager.users.chase = { + imports = [ + ./home/home.nix; + catppuccin.homeManagerModules.catppuccin + ]; + }; } ]; }; diff --git a/home/home.nix b/home/home.nix index cadc137..eafc37a 100644 --- a/home/home.nix +++ b/home/home.nix @@ -35,6 +35,11 @@ }; }; + catppuccin = { + enable = true; + flavor = "mocha"; + } + programs.alacritty = { enable = true; settings = { @@ -45,7 +50,7 @@ }; }; }; - theme = "catppuccin_mocha"; + # theme = "catppuccin_mocha"; }; programs.bash = { @@ -189,7 +194,7 @@ enableBashIntegration = true; installVimSyntax = true; settings = { - theme = "catppuccin-mocha"; + # theme = "catppuccin-mocha"; font-family = "BlexMono Nerd Font"; font-size = 11; };