From 6fa75a34e7a595908f611e69d6bdd1aee2058686 Mon Sep 17 00:00:00 2001 From: Devin Finlinson Date: Fri, 12 Jan 2024 07:49:13 -0700 Subject: use catppuccin theme for nushell --- modules/home-manager/shell.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'modules/home-manager/shell.nix') diff --git a/modules/home-manager/shell.nix b/modules/home-manager/shell.nix index cd35607..c1bcab9 100644 --- a/modules/home-manager/shell.nix +++ b/modules/home-manager/shell.nix @@ -1,4 +1,4 @@ -{nushell-scripts, ... }: { +k{nushell-scripts, ... }: { programs.nushell = { enable = true; shellAliases = { @@ -24,6 +24,8 @@ source ${nushell-scripts}/custom-completions/cargo/cargo-completions.nu source ${nushell-scripts}/custom-completions/make/make-completions.nu source ${nushell-scripts}/custom-completions/git/git-completions.nu + source ${nushell-scripts}/themes/nu-themes/catppuccin-mocha.nu + $env.config = ($env.config | merge {color_config: (catppuccin-mocha)}) ''; }; } -- cgit v1.2.3 From bb099942ebb992beb786a01d1107f4b294121583 Mon Sep 17 00:00:00 2001 From: Devin Finlinson Date: Fri, 12 Jan 2024 07:51:37 -0700 Subject: typo --- modules/home-manager/shell.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/home-manager/shell.nix') diff --git a/modules/home-manager/shell.nix b/modules/home-manager/shell.nix index c1bcab9..2e6a0df 100644 --- a/modules/home-manager/shell.nix +++ b/modules/home-manager/shell.nix @@ -1,4 +1,4 @@ -k{nushell-scripts, ... }: { +{nushell-scripts, ... }: { programs.nushell = { enable = true; shellAliases = { -- cgit v1.2.3 From 54ed0dc9c93fecfe60f9b4feec911ea8b58c32a0 Mon Sep 17 00:00:00 2001 From: Devin Finlinson Date: Fri, 12 Jan 2024 07:57:05 -0700 Subject: bugfix theme --- modules/home-manager/shell.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/home-manager/shell.nix') diff --git a/modules/home-manager/shell.nix b/modules/home-manager/shell.nix index 2e6a0df..3224f8d 100644 --- a/modules/home-manager/shell.nix +++ b/modules/home-manager/shell.nix @@ -24,7 +24,7 @@ source ${nushell-scripts}/custom-completions/cargo/cargo-completions.nu source ${nushell-scripts}/custom-completions/make/make-completions.nu source ${nushell-scripts}/custom-completions/git/git-completions.nu - source ${nushell-scripts}/themes/nu-themes/catppuccin-mocha.nu + use ${nushell-scripts}/themes/nu-themes/catppuccin-mocha.nu $env.config = ($env.config | merge {color_config: (catppuccin-mocha)}) ''; }; -- cgit v1.2.3 From be2ec73c211a730b2b84de12f3439d03b9e95d75 Mon Sep 17 00:00:00 2001 From: Devin Finlinson Date: Sat, 13 Jan 2024 10:07:31 -0700 Subject: nix search and nix run aliases --- modules/home-manager/shell.nix | 2 ++ 1 file changed, 2 insertions(+) (limited to 'modules/home-manager/shell.nix') diff --git a/modules/home-manager/shell.nix b/modules/home-manager/shell.nix index 3224f8d..12d3805 100644 --- a/modules/home-manager/shell.nix +++ b/modules/home-manager/shell.nix @@ -13,6 +13,8 @@ # egpu = "(DRI_PRIME=pci-0000_05_00_0 glxinfo | grep 'OpenGL renderer')"; # checkgpu = "(lspci | grep VGA)"; cat = "bat -f # --paging never"; + search = "nix search nixpkgs#"; + run- = "nix run nixpkgs#"; }; configFile.source = ../../resources/nushell/config.nu; extraConfig = '' -- cgit v1.2.3 From f3387c888aba10dc6315a838358303e79a624acd Mon Sep 17 00:00:00 2001 From: Devin Finlinson Date: Sat, 13 Jan 2024 23:35:00 -0700 Subject: nix run alias doesn't because of missing space --- modules/home-manager/shell.nix | 1 - 1 file changed, 1 deletion(-) (limited to 'modules/home-manager/shell.nix') diff --git a/modules/home-manager/shell.nix b/modules/home-manager/shell.nix index 12d3805..612c92a 100644 --- a/modules/home-manager/shell.nix +++ b/modules/home-manager/shell.nix @@ -14,7 +14,6 @@ # checkgpu = "(lspci | grep VGA)"; cat = "bat -f # --paging never"; search = "nix search nixpkgs#"; - run- = "nix run nixpkgs#"; }; configFile.source = ../../resources/nushell/config.nu; extraConfig = '' -- 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/shell.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'modules/home-manager/shell.nix') 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 = { -- cgit v1.2.3