kore / nixos / hosts / sunflower.nix30 lines · 493B · 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 };
18 };
19
20 users.users.lostduk = {
21 isNormalUser = true;
22 extraGroups = [ "wheel" ];
23 password = "tmp";
24 };
25
26 hardware = {
27 graphics.enable = true;
28 cpu.intel.updateMicrocode = true;
29 };
30}