···66delib.module {
77 name = "programs.core-cli";
8899+ options = delib.singleEnableOption true;
1010+911 nixos.always = {
1012 environment.systemPackages = with pkgs; [
1113 ffmpeg-full
···2527 ];
26282729 programs.fish.enable = true;
3030+ };
3131+3232+ darwin.always = {
3333+ environment.systemPackages = with pkgs; [
3434+ ffmpeg-full
3535+ git
3636+ imagemagick
3737+ nil
3838+ openssh
3939+ wget
4040+ # TODO: the Xcode packages makes us manually download and put it into the Nix store
4141+ # but it seems to contain no reference to our actual result so I don't think `systemPackages`
4242+ # picks it up properly. Need to see how `requireFile` works and how `systemPackages`
4343+ # works under the hood.
4444+ # darwin.xcode_14_1
4545+ ];
4646+4747+ programs.bash.enable = true;
4848+ programs.zsh.enable = true;
4949+ programs.fish.enable = true;
5050+5151+ # Fix problem in nix-darwin relating to $PATH order in fish.
5252+ # https://github.com/LnL7/nix-darwin/issues/122#issuecomment-1659465635
5353+ # programs.fish.loginShellInit = let
5454+ # dquote = str: "\"${str}\"";
5555+ # makeBinPathList = map (path: path + "/bin");
5656+ # in ''
5757+ # fish_add_path --move --prepend --path ${lib.concatMapStringsSep " " dquote (makeBinPathList config.environment.profiles)}
5858+ # set fish_user_paths $fish_user_paths
5959+ # fish_add_path /opt/homebrew/bin
6060+ # '';
6161+6262+ programs.fish.loginShellInit = ''
6363+ alias tailscale /Applications/Tailscale.app/Contents/MacOS/Tailscale
6464+ '';
2865 };
29663067 home.always = {