greenhouse

kore

my public infrastructure monorepo

git clone [email protected]:kore.git

kore / nixos / hosts / sunflower.nix31 lines · 524B · raw

1{ pkgs, inputs, modulesPath, ... }:
2
3{
4  imports = [
5    inputs.nixos-wsl.nixosModules.default
6
7    ( modulesPath + "/installer/scan/not-detected.nix" )
8  ];
9
10  wsl = {
11    enable = true;
12    defaultUser = "lostduk";
13    useWindowsDriver = true;
14
15    usbip = {
16      enable = true;
17      autoAttach = [ "1-14" ];
18    };
19  };
20
21  users.users.lostduk = {
22    isNormalUser = true;
23    extraGroups = [ "wheel" ];
24    password = "tmp";
25  };
26
27  hardware = {
28    graphics.enable = true;
29    cpu.intel.updateMicrocode = true;
30  };
31}