summaryrefslogtreecommitdiff
path: root/hosts/glados-wsl/default.nix
blob: 0a6f58369ea45b83ba535609d4e6217550a6b51e (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
{
  modulesPath,
  pkgs,
  ...
}: {
  imports = [
    (modulesPath + "/profiles/minimal.nix")
    ../../modules/nixos/features/tailscale.nix
  ];

  environment.systemPackages = with pkgs; [
    wslu
  ];

  getchoo = {
    base.networking.enable = false;
    features.tailscale.enable = true;
  };

  wsl = {
    enable = true;
    defaultUser = "seth";
    nativeSystemd = true;
    wslConf.network = {
      hostname = "glados-wsl";
      generateResolvConf = true;
    };
    startMenuLaunchers = false;
    interop.includePath = false;
  };

  services.dbus.apparmor = "disabled";

  networking.hostName = "glados-wsl";

  security = {
    apparmor.enable = false;
    audit.enable = false;
    auditd.enable = false;
  };
}