Skip to content

Commit

Permalink
Merge pull request LnL7#1233 from adamcstephens/fish/package
Browse files Browse the repository at this point in the history
fish: add package option
  • Loading branch information
Enzime authored Dec 28, 2024
2 parents 1fd4bd9 + 2165857 commit 53a0c2f
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 53a0c2f

Please sign in to comment.