tangled
alpha
login
or
join now
hyl.st
/
helm
2
fork
atom
nix config
2
fork
atom
overview
issues
pulls
pipelines
pass deploy checks too
Anish Lakhwara
3 years ago
d8da4009
4f2bb947
+26
-21
2 changed files
expand all
collapse all
unified
split
flake.nix
hosts
profiles
monitoring
default.nix
+22
-17
flake.nix
···
70
70
"x86_64-darwin"
71
71
];
72
72
unstableOverlay = final: prev: {
73
73
+
# We already have these in scope
73
74
unstable = unstable.legacyPackages.${prev.system};
74
75
deploy = deploy-rs.packages.${prev.system}.deploy-rs;
75
76
};
···
211
212
# Available through 'home-manager --flake .#your-username@your-hostname'
212
213
homeConfigurations = {
213
214
"anish@work" = home-manager.lib.homeManagerConfiguration {
214
214
-
pkgs = nixpkgs.legacyPackages.x86_64-linux; # Home-manager requires 'pkgs' instance
215
215
+
pkgs = nixpkgsFor."x86_64-linux"; # Home-manager requires 'pkgs' instance
215
216
extraSpecialArgs = { inherit inputs; };
216
217
modules = [
217
218
./home/core.nix
···
221
222
};
222
223
223
224
deploy.nodes = {
224
224
-
curve.profiles.system = {
225
225
-
user = "anish";
226
226
-
path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.curve;
227
227
-
};
228
228
-
box.profiles.system = {
229
229
-
user = "anish";
225
225
+
box = {
230
226
hostname = "mossnet.lan";
231
231
-
path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.box;
227
227
+
profiles.system = {
228
228
+
user = "anish";
229
229
+
path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.box;
230
230
+
};
232
231
};
233
233
-
helix.profiles.system = {
234
234
-
user = "anish";
232
232
+
helix = {
235
233
hostname = "sealight.xyz";
236
236
-
path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.helix;
234
234
+
profiles.system = {
235
235
+
user = "anish";
236
236
+
path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.helix;
237
237
+
};
237
238
};
238
238
-
lituus.profiles.system = {
239
239
-
user = "anish";
239
239
+
lituus = {
240
240
hostname = "git.sealight.xyz";
241
241
-
path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.lituus;
241
241
+
profiles.system = {
242
242
+
user = "anish";
243
243
+
path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.lituus;
244
244
+
};
242
245
};
243
243
-
cube.profiles.system = {
244
244
-
user = "anish";
246
246
+
cube = {
245
247
hostname = "anish.lakhwara.com";
246
246
-
path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.cube;
248
248
+
profiles.system = {
249
249
+
user = "anish";
250
250
+
path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.cube;
251
251
+
};
247
252
};
248
253
};
249
254
+4
-4
hosts/profiles/monitoring/default.nix
···
44
44
];
45
45
};
46
46
47
47
-
services.loki = {
48
48
-
#enable = true;
49
49
-
#configFile = /var/loki-config.yaml;
50
50
-
};
47
47
+
# services.loki = {
48
48
+
# enable = true;
49
49
+
# configFile = /var/loki-config.yaml;
50
50
+
# };
51
51
52
52
#systemd.services.promtail = {
53
53
# description = "Promtail service for Loki";