Skip to content

Commit

Permalink
fish: add package option
Browse files Browse the repository at this point in the history
  • Loading branch information
adamcstephens committed Dec 18, 2024
1 parent a35b08d commit 131f808
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion modules/programs/fish.nix
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ in
type = types.bool;
};

package = lib.mkPackageOption pkgs "fish" { };

useBabelfish = mkOption {
type = types.bool;
default = false;
Expand Down Expand Up @@ -238,7 +240,7 @@ in
++ optional cfg.vendor.functions.enable "/share/fish/vendor_functions.d";
}

{ systemPackages = [ pkgs.fish ]; }
{ systemPackages = [ cfg.package ]; }
];
};

Expand Down

0 comments on commit 131f808

Please sign in to comment.