greenhouse

kore

my public infrastructure monorepo

git clone [email protected]:kore.git

kore / nixos / hosts / gomphrena.nix24 lines · 406B · raw

1{ inputs, ... }:
2
3{
4  imports = [ inputs.nixos-wsl.nixosModules.default ];
5
6  # WSL can't mount /persist at boot.
7  kore.impermanence.enable = false;
8
9  wsl = {
10    enable = true;
11    defaultUser = "lostduk";
12    useWindowsDriver = true;
13
14    usbip = {
15      enable = true;
16      autoAttach = [ "1-14" ];
17    };
18  };
19
20  hardware = {
21    graphics.enable = true;
22    cpu.intel.updateMicrocode = true;
23  };
24}