tangled
alpha
login
or
join now
devins.page
/
flake
0
fork
atom
configurations for my servers and desktops
nix
nixos
flake
dots
dotfiles
0
fork
atom
overview
issues
pulls
pipelines
feat: tank-wsl
devins.page
2 months ago
479c1a5c
38d10988
+66
-3
3 changed files
expand all
collapse all
unified
split
flake.lock
flake.nix
hosts
tank-wsl
default.nix
+54
-1
flake.lock
···
75
75
"type": "github"
76
76
}
77
77
},
78
78
+
"flake-compat_2": {
79
79
+
"flake": false,
80
80
+
"locked": {
81
81
+
"lastModified": 1765121682,
82
82
+
"narHash": "sha256-4VBOP18BFeiPkyhy9o4ssBNQEvfvv1kXkasAYd0+rrA=",
83
83
+
"owner": "edolstra",
84
84
+
"repo": "flake-compat",
85
85
+
"rev": "65f23138d8d09a92e30f1e5c87611b23ef451bf3",
86
86
+
"type": "github"
87
87
+
},
88
88
+
"original": {
89
89
+
"owner": "edolstra",
90
90
+
"repo": "flake-compat",
91
91
+
"type": "github"
92
92
+
}
93
93
+
},
78
94
"flake-utils": {
79
95
"inputs": {
80
96
"systems": [
···
201
217
"type": "github"
202
218
}
203
219
},
220
220
+
"nixos-wsl": {
221
221
+
"inputs": {
222
222
+
"flake-compat": "flake-compat_2",
223
223
+
"nixpkgs": "nixpkgs_4"
224
224
+
},
225
225
+
"locked": {
226
226
+
"lastModified": 1765841014,
227
227
+
"narHash": "sha256-55V0AJ36V5Egh4kMhWtDh117eE3GOjwq5LhwxDn9eHg=",
228
228
+
"owner": "nix-community",
229
229
+
"repo": "NixOS-WSL",
230
230
+
"rev": "be4af8042e7a61fa12fda58fe9a3b3babdefe17b",
231
231
+
"type": "github"
232
232
+
},
233
233
+
"original": {
234
234
+
"owner": "nix-community",
235
235
+
"ref": "main",
236
236
+
"repo": "NixOS-WSL",
237
237
+
"type": "github"
238
238
+
}
239
239
+
},
204
240
"nixpkgs": {
205
241
"locked": {
206
242
"lastModified": 1754028485,
···
267
303
},
268
304
"nixpkgs_4": {
269
305
"locked": {
306
306
+
"lastModified": 1765472234,
307
307
+
"narHash": "sha256-9VvC20PJPsleGMewwcWYKGzDIyjckEz8uWmT0vCDYK0=",
308
308
+
"owner": "NixOS",
309
309
+
"repo": "nixpkgs",
310
310
+
"rev": "2fbfb1d73d239d2402a8fe03963e37aab15abe8b",
311
311
+
"type": "github"
312
312
+
},
313
313
+
"original": {
314
314
+
"owner": "NixOS",
315
315
+
"ref": "nixos-unstable",
316
316
+
"repo": "nixpkgs",
317
317
+
"type": "github"
318
318
+
}
319
319
+
},
320
320
+
"nixpkgs_5": {
321
321
+
"locked": {
270
322
"lastModified": 1766125104,
271
323
"narHash": "sha256-l/YGrEpLromL4viUo5GmFH3K5M1j0Mb9O+LiaeCPWEM=",
272
324
"owner": "NixOS",
···
288
340
"home-manager-stable": "home-manager-stable",
289
341
"mac-app-util": "mac-app-util",
290
342
"nix-darwin": "nix-darwin",
291
291
-
"nixpkgs": "nixpkgs_4",
343
343
+
"nixos-wsl": "nixos-wsl",
344
344
+
"nixpkgs": "nixpkgs_5",
292
345
"nixpkgs-stable": "nixpkgs-stable"
293
346
}
294
347
},
+4
-2
flake.nix
···
7
7
home-manager-stable.url = "github:nix-community/home-manager/release-25.11";
8
8
mac-app-util.url = "github:hraban/mac-app-util";
9
9
nix-darwin.url = "github:nix-darwin/nix-darwin/master";
10
10
+
nixos-wsl.url = "github:nix-community/NixOS-WSL/main";
10
11
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
11
12
nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-25.11";
12
13
···
50
51
];
51
52
};
52
53
53
53
-
nixosConfigurations.devins-5495 = inputs.nixpkgs.lib.nixosSystem {
54
54
+
nixosConfigurations.tank-wsl = inputs.nixpkgs.lib.nixosSystem {
54
55
specialArgs = inputs;
55
56
modules = [
56
57
./modules/common
57
58
./modules/nixos
58
58
-
./hosts/devins-5495
59
59
+
./hosts/tank-wsl
59
60
inputs.home-manager.nixosModules.home-manager
61
61
+
inputs.nixos-wsl.nixosModules.default
60
62
];
61
63
};
62
64
+8
hosts/tank-wsl/default.nix
···
1
1
+
{ config, lib, pkgs, ... }:
2
2
+
3
3
+
{
4
4
+
wsl.enable = true;
5
5
+
wsl.defaultUser = "devin";
6
6
+
7
7
+
system.stateVersion = "25.05";
8
8
+
}