-
Notifications
You must be signed in to change notification settings - Fork 2
/
flake.nix
147 lines (145 loc) · 4.45 KB
/
flake.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
{
description = "meta-flake";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-24.05";
flake-utils.url = "github:numtide/flake-utils";
fish-flake = {
url = "./fish";
inputs.nixpkgs.follows = "nixpkgs";
};
vim-flake = {
url = "./vim";
inputs.nixpkgs.follows = "nixpkgs";
};
helix-flake = {
url = "./helix";
inputs.nixpkgs.follows = "nixpkgs";
};
git-flake = {
url = "./git";
inputs.nixpkgs.follows = "nixpkgs";
inputs.vim-flake.follows = "vim-flake";
};
vscode-flake = {
url = "./vscode";
inputs.nixpkgs.follows = "nixpkgs";
inputs.fish-flake.follows = "fish-flake";
};
nushell-flake = {
url = "./nushell";
inputs.nixpkgs.follows = "nixpkgs";
};
st-flake = {
url = "./st";
inputs.fish-flake.follows = "fish-flake";
};
wezterm-flake = {
url = "./wezterm";
inputs.nixpkgs.follows = "nixpkgs";
inputs.fish-flake.follows = "fish-flake";
};
jetporch-flake = {
url = "./jetporch";
inputs.nixpkgs.follows = "nixpkgs";
};
ansible-flake = {
url = "./ansible";
inputs.nixpkgs.follows = "nixpkgs";
};
vimb-flake = {
url = "./vimb";
inputs.nixpkgs.follows = "nixpkgs";
};
op-flake = {
url = "./1password";
inputs.nixpkgs.follows = "nixpkgs";
};
lima-flake = {
url = "./nixos-lima";
inputs.nixpkgs.follows = "nixpkgs";
};
chromium-widevine-flake = {
url = "./chromium-widevine";
inputs.nixpkgs.follows = "nixpkgs";
};
gnome-flake = {
url = "./gnome";
inputs.nixpkgs.follows = "nixpkgs";
inputs.nixpkgs-stable.follows = "nixpkgs-stable";
inputs.fish-flake.follows = "fish-flake";
};
qutebrowser-flake = {
url = "./qutebrowser";
inputs.nixpkgs.follows = "nixpkgs";
};
zen-browser-flake = {
url = "./zen-browser";
inputs.nixpkgs.follows = "nixpkgs";
};
tabby-flake = {
url = "./tabby";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = inputs @ {
self,
nixpkgs,
nixpkgs-stable,
flake-utils,
fish-flake,
git-flake,
nushell-flake,
vim-flake,
helix-flake,
vscode-flake,
st-flake,
wezterm-flake,
jetporch-flake,
ansible-flake,
vimb-flake,
op-flake,
lima-flake,
chromium-widevine-flake,
gnome-flake,
qutebrowser-flake,
zen-browser-flake,
tabby-flake,
}:
flake-utils.lib.eachDefaultSystem (system: let
pkgs = nixpkgs.legacyPackages.${system};
in {
packages = {
fish = fish-flake.packages.${system}.fish;
nushell = nushell-flake.packages.${system}.nushell;
git = git-flake.packages.${system}.git;
tmux = fish-flake.packages.${system}.tmux;
vim = vim-flake.defaultPackage.${system};
helix = helix-flake.packages.${system}.helix;
helix-config = helix-flake.packages.${system}.helix-config;
vscode = vscode-flake.packages.${system}.default;
vscode-userdir = vscode-flake.packages.${system}.user-dir;
vscode-bin = vscode-flake.packages.${system}.code-bin;
st = st-flake.packages.${system}.st;
wezterm = wezterm-flake.packages.${system}.wezterm;
wezterm-gl = wezterm-flake.packages.${system}.wezterm-gl;
workstation = ansible-flake.packages.${system}.workstation;
server = ansible-flake.packages.${system}.server;
vimb = vimb-flake.packages.${system}.vimb;
vimb-gl = vimb-flake.packages.${system}.vimb-gl;
op = op-flake.packages.${system}.op;
op-desktop-setup = op-flake.packages.${system}.op-desktop-setup;
nixos-vm = lima-flake.packages.${system}.runVm;
lima-nixos-img = lima-flake.packages.${system}.img;
chromium-widevine = chromium-widevine-flake.packages.aarch64-linux.chromium-widevine;
gnome = gnome-flake.packages.${system}.gnome-desktop-setup;
gnome-dconf = gnome-flake.packages.${system}.dconf;
qutebrowser = qutebrowser-flake.packages.${system}.qutebrowser;
qutebrowser-config = qutebrowser-flake.packages.${system}.qutebrowser-config;
zen-browser = zen-browser-flake.packages.${system}.default;
tabby = tabby-flake.packages.${system}.tabby-wrapper;
zellij = fish-flake.packages.${system}.zellij;
};
formatter = pkgs.alejandra;
});
}