/ systems / hosts / okinawa.nix
okinawa.nix
 1  { lib, pkgs, config, modulesPath, ... }:
 2  
 3  with lib;
 4  {
 5    imports = [
 6      "${modulesPath}/profiles/minimal.nix"
 7    ];
 8  
 9    wsl = {
10      enable = true;
11      automountPath = "/mnt";
12      defaultUser = "nixos";
13      startMenuLaunchers = true;
14  
15      # Enable integration with Docker Desktop (needs to be installed)
16      # docker.enable = true;
17    };
18  
19    environment.systemPackages = with pkgs; [
20      docker-client
21      git
22      vim
23    ];
24  
25    # Enable nix flakes
26    nix.package = pkgs.nixFlakes;
27    nix.extraOptions = ''
28      experimental-features = nix-command flakes
29    '';
30  }