From d7048b62427abc75fc540aa189c4bb488342ba2d Mon Sep 17 00:00:00 2001 From: Devin Finlinson Date: Fri, 12 Jan 2024 03:34:46 -0700 Subject: messing with generating custom themes for helix --- modules/home-manager/helix.nix | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'modules/home-manager/helix.nix') diff --git a/modules/home-manager/helix.nix b/modules/home-manager/helix.nix index d93a2ea..6eb8895 100644 --- a/modules/home-manager/helix.nix +++ b/modules/home-manager/helix.nix @@ -6,6 +6,12 @@ enable = true; package = pkgs.helix; # defaultEditor = true; + # themes = { + # custom = { + # "inherits" = "catpuccin_mocha"; + # "ui.background" = {}; + # }; + # }; settings = { theme = "catppuccin_mocha"; editor = { -- cgit v1.2.3 From 1a3a567d745e37d16ed0e655fe1b332e0a2d2fb9 Mon Sep 17 00:00:00 2001 From: Devin Finlinson Date: Fri, 19 Jan 2024 12:35:11 -0700 Subject: i finally fixed the inputs issue: when passing inputs as inputs instead of input-name, you must call inputs.input-name --- modules/home-manager/helix.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/home-manager/helix.nix') diff --git a/modules/home-manager/helix.nix b/modules/home-manager/helix.nix index 6eb8895..1eaebfb 100644 --- a/modules/home-manager/helix.nix +++ b/modules/home-manager/helix.nix @@ -1,6 +1,6 @@ -{ pkgs, catppuccin-helix, ... }: { +{ pkgs, inputs, ... }: { # https://github.com/catppuccin/helix - xdg.configFile."helix/themes".source = "${catppuccin-helix}/themes/default"; + xdg.configFile."helix/themes".source = "${inputs.catppuccin-helix}/themes/default"; programs.helix = { enable = true; -- cgit v1.2.3