this repo has no description
1{
2 delib,
3 pkgs,
4 ...
5}:
6delib.module {
7 name = "programs.core-cli";
8
9 options = delib.singleEnableOption true;
10
11 nixos.always = {
12 environment.systemPackages = with pkgs; [
13 ffmpeg-full
14 fuzzel
15 git
16 nil
17 niri
18 nixd
19 openssh
20 p7zip
21 pciutils
22 sysstat
23 unar
24 wget
25 wineWowPackages.full
26 ];
27
28 programs.fish.enable = true;
29 };
30
31 darwin.always = {
32 environment.systemPackages = with pkgs; [
33 ffmpeg-full
34 git
35 imagemagick
36 nil
37 nixd
38 openssh
39 wget
40 # TODO: the Xcode packages makes us manually download and put it into the Nix store
41 # but it seems to contain no reference to our actual result so I don't think `systemPackages`
42 # picks it up properly. Need to see how `requireFile` works and how `systemPackages`
43 # works under the hood.
44 # darwin.xcode_14_1
45 ];
46
47 programs.bash.enable = true;
48 programs.zsh.enable = true;
49 programs.fish.enable = true;
50
51 # Fix problem in nix-darwin relating to $PATH order in fish.
52 # https://github.com/LnL7/nix-darwin/issues/122#issuecomment-1659465635
53 # programs.fish.loginShellInit = let
54 # dquote = str: "\"${str}\"";
55 # makeBinPathList = map (path: path + "/bin");
56 # in ''
57 # fish_add_path --move --prepend --path ${lib.concatMapStringsSep " " dquote (makeBinPathList config.environment.profiles)}
58 # set fish_user_paths $fish_user_paths
59 # fish_add_path /opt/homebrew/bin
60 # '';
61
62 programs.fish.loginShellInit = ''
63 alias tailscale /Applications/Tailscale.app/Contents/MacOS/Tailscale
64 '';
65 };
66
67 home.always = {
68 home.packages = with pkgs; [
69 curlie
70 dust
71 duf
72 fd
73 jq
74 nix-your-shell
75 ripgrep
76 ];
77
78 programs.aria2.enable = true;
79 programs.eza.enable = true;
80 programs.nix-index.enable = true;
81 };
82}