(hopefully) fix fish

This commit is contained in:
Nikodem Rabuliński 2024-01-14 22:12:54 +01:00
parent 359d902425
commit c6a74dd184
3 changed files with 18 additions and 10 deletions

View file

@ -7,7 +7,6 @@
username,
...
}: let
inherit (inputs'.settei.packages) fish;
sharedConfig = {
settei.user.config = {
programs.git = {
@ -30,12 +29,11 @@
};
programs.fish.enable = true;
environment.shells = [fish];
users.users.${username}.shell = fish;
users.users.${username}.shell = pkgs.fish;
# NixOS' fish module doesn't allow setting what package to use for fish,
# so I need to override the fish package.
nixpkgs.overlays = [(_: _: {inherit fish;})];
nixpkgs.overlays = [(_: _: {inherit (inputs'.settei.packages) fish;})];
};
linuxConfig = lib.optionalAttrs isLinux {