Skip to content

Commit

Permalink
fish: Use 4.0b1
Browse files Browse the repository at this point in the history
  • Loading branch information
Lillecarl committed Dec 29, 2024
1 parent 1d8edd0 commit bc3ac40
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 1 deletion.
17 changes: 17 additions & 0 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
inputs = {
# Direct inputs
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
nixpkgs-fish.url = "github:NixOS/nixpkgs/fish";
nixos-hardware.url = "github:NixOS/nixos-hardware";
nixpkgs-master.url = "github:NixOS/nixpkgs/master";
nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-24.05";
Expand Down
1 change: 1 addition & 0 deletions users/lillecarl/terminal/fish.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ in

programs.fish = {
enable = true;
package = config.lib.pspkgs.fish4;

generateCompletions = config.ps.terminal.mode == "fat";

Expand Down
2 changes: 1 addition & 1 deletion users/lillecarl/terminal/noshell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ in
};
};
config = lib.mkIf cfg.enable {
xdg.configFile."shell".source = lib.getExe pkgs.fish;
xdg.configFile."shell".source = lib.getExe config.programs.fish.package;
};
}
3 changes: 3 additions & 0 deletions users/lillecarl/terminal/packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -140,5 +140,8 @@
'';
})
);
lib.pspkgs.fish4 = (
pkgs.callPackage "${inputs.nixpkgs-fish}/pkgs/shells/fish" {}
);
};
}

0 comments on commit bc3ac40

Please sign in to comment.