Fix fish nix function recurse error
This commit is contained in:
+17
-1
@@ -1,7 +1,11 @@
|
||||
{ pkgs, ... }:
|
||||
{ inputs, pkgs, ... }:
|
||||
|
||||
let
|
||||
spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.stdenv.system};
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
inputs.spicetify-nix.homeManagerModules.spicetify
|
||||
./battery
|
||||
./btop
|
||||
./dunst
|
||||
@@ -17,6 +21,8 @@
|
||||
./yazi
|
||||
];
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
home.username = "me";
|
||||
home.homeDirectory = "/home/me";
|
||||
|
||||
@@ -47,5 +53,15 @@
|
||||
fi
|
||||
'';
|
||||
|
||||
programs.spicetify = {
|
||||
enable = true;
|
||||
enabledExtensions = with spicePkgs.extensions; [
|
||||
adblockify
|
||||
hidePodcasts
|
||||
];
|
||||
theme = spicePkgs.themes.catppuccin;
|
||||
colorScheme = "mocha";
|
||||
};
|
||||
|
||||
home.stateVersion = "26.05";
|
||||
}
|
||||
|
||||
@@ -2,11 +2,11 @@ set -gx fish_greeting
|
||||
|
||||
function nix
|
||||
if test "$argv[1]" = "develop"
|
||||
nix develop -c fish $argv[2..-1]
|
||||
command nix develop -c fish $argv[2..-1]
|
||||
else if test "$argv[1]" = "shell"
|
||||
env IN_NIX_SHELL=shell nix $argv
|
||||
else
|
||||
nix $argv
|
||||
command nix $argv
|
||||
end
|
||||
end
|
||||
function a
|
||||
|
||||
Reference in New Issue
Block a user