blob: 9ca63ed761284d1a4a713336fae2991a9c00f41b (
plain)
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
|
{ pkgs, inputs, ... }:
{
imports = [
inputs.nixos-wsl.nixosModules.wsl
inputs.self.nixosModules.default
];
borealis = {
profiles.personal.enable = true;
determinate.enable = true;
remote-builders = {
enable = true;
builders = {
atlas = true;
macstadium = true;
};
};
};
environment.systemPackages = with pkgs; [
wget
wslu
];
networking.hostName = "glados-wsl";
nix.package = pkgs.nixVersions.latest;
nixpkgs.hostPlatform = "x86_64-linux";
security = {
# Something, something `resolv.conf` error
# (nixos-wsl probably doesn't set it)
apparmor.enable = false;
# `run0` fails with `Failed to start transient service unit: Interactive authentication required.`
sudo.enable = true;
};
services = {
resolved.enable = false;
tailscale.enable = false;
};
system.stateVersion = "23.11";
wsl = {
enable = true;
defaultUser = "seth";
interop = {
includePath = false; # this is so annoying
register = true;
};
};
}
|