diff options
| author | Devin Finlinson <devin.finlinson@pm.me> | 2024-01-19 12:35:11 -0700 |
|---|---|---|
| committer | Devin Finlinson <devin.finlinson@pm.me> | 2024-01-19 12:35:11 -0700 |
| commit | 1a3a567d745e37d16ed0e655fe1b332e0a2d2fb9 (patch) | |
| tree | eb5d014cb9f4bab8ad3ed030e485297fa2731412 /modules/home-manager | |
| parent | 5994480e27da98c03a18c01f5f1beda91be4eec4 (diff) | |
i finally fixed the inputs issue: when passing inputs as inputs instead of input-name, you must call inputs.input-name
Diffstat (limited to 'modules/home-manager')
| -rw-r--r-- | modules/home-manager/bat.nix | 4 | ||||
| -rw-r--r-- | modules/home-manager/btop.nix | 4 | ||||
| -rw-r--r-- | modules/home-manager/helix.nix | 4 | ||||
| -rw-r--r-- | modules/home-manager/shell.nix | 4 | ||||
| -rw-r--r-- | modules/home-manager/starship.nix | 6 |
5 files changed, 12 insertions, 10 deletions
diff --git a/modules/home-manager/bat.nix b/modules/home-manager/bat.nix index 5a9802e..3a06076 100644 --- a/modules/home-manager/bat.nix +++ b/modules/home-manager/bat.nix @@ -1,4 +1,4 @@ -{ catppuccin-bat, ...}: { +{ inputs, ...}: { # a cat(1) clone with syntax highlighting and Git integration. programs.bat = { enable = true; @@ -7,7 +7,7 @@ theme = "catppuccin-mocha"; }; themes = { - catppuccin-mocha = builtins.readFile "${catppuccin-bat}/Catppuccin-mocha.tmTheme"; + catppuccin-mocha = builtins.readFile "${inputs.catppuccin-bat}/Catppuccin-mocha.tmTheme"; }; }; } diff --git a/modules/home-manager/btop.nix b/modules/home-manager/btop.nix index 7243a6e..894ff2e 100644 --- a/modules/home-manager/btop.nix +++ b/modules/home-manager/btop.nix @@ -1,5 +1,5 @@ -{ catppuccin-btop, ... }: { - home.file.".config/btop/themes".source = "${catppuccin-btop}/themes"; +{ inputs, ... }: { + home.file.".config/btop/themes".source = "${inputs.catppuccin-btop}/themes"; #replace htop/nmon programs.btop = { 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; diff --git a/modules/home-manager/shell.nix b/modules/home-manager/shell.nix index 612c92a..685cda1 100644 --- a/modules/home-manager/shell.nix +++ b/modules/home-manager/shell.nix @@ -1,4 +1,6 @@ -{nushell-scripts, ... }: { +{inputs, ... }: let + nushell-scripts = inputs.nushell-scripts; +in { programs.nushell = { enable = true; shellAliases = { diff --git a/modules/home-manager/starship.nix b/modules/home-manager/starship.nix index 12d6f6b..eafc03c 100644 --- a/modules/home-manager/starship.nix +++ b/modules/home-manager/starship.nix @@ -1,4 +1,4 @@ -{ catppuccin-starship, ... }: { +{ inputs, ... }: { programs.starship = { enable = true; @@ -6,6 +6,6 @@ command_timeout = 1000; palette = "catppuccin_mocha"; - } // builtins.fromTOML (builtins.readFile "${catppuccin-starship}/palettes/mocha.toml"); + } // builtins.fromTOML (builtins.readFile "${inputs.catppuccin-starship}/palettes/mocha.toml"); }; -}
\ No newline at end of file +} |
