-
Notifications
You must be signed in to change notification settings - Fork 9
/
homies.nix
50 lines (43 loc) · 1.06 KB
/
homies.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{ pkgs, nixpkgs-src, inputs }:
# The main homies file, where homies are defined. See the README.md for
# instructions.
let
nix = pkgs.callPackage ./nix { };
neovim = pkgs.callPackage ./neovim { inherit inputs; };
kitty = pkgs.callPackage ./kitty { inherit inputs; };
# A custom '.zshrc' (see zshrc/default.nix for details)
zshrc = pkgs.callPackage ./zshrc { inherit nixpkgs-src; };
# Git with config baked in
git = pkgs.callPackage ./git { };
in
# The "homies", which is a buildEnv where bin/ contains all the executables.
# The manpages are in share/man, which are auto-discovered by man (because
# it's close to bin/ which is on the PATH).
pkgs.buildEnv {
name = "homies";
paths =
[
zshrc
git
kitty.wrapper
kitty.bundle
nix
neovim
pkgs.curl
pkgs.direnv
pkgs.entr
pkgs.git-lfs
pkgs.gnupg
pkgs.nixpkgs-fmt
pkgs.niv
pkgs.fzf
pkgs.htop
pkgs.jq
pkgs.less
pkgs.mpremote
pkgs.scc
pkgs.shellcheck
pkgs.shfmt
pkgs.tree
];
}