summary refs log tree commit diff
path: root/host/Rory-wsl/configuration.nix
blob: 35eaff58406120a241afcda840d59800868d0706 (plain) (blame)
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
42
43
44
45
46
{ lib, pkgs, config, modulesPath, ... }:

{
  wsl = {
    enable = true;
    automountPath = "/mnt";
    defaultUser = "nixos";
    startMenuLaunchers = true;

    # Enable native Docker support
    # docker-native.enable = true;

    # Enable integration with Docker Desktop (needs to be installed)
    # docker-desktop.enable = true;

  };

  nix.extraOptions = ''
    experimental-features = nix-command flakes
  '';

  environment.systemPackages = with pkgs; [
    wget
    neofetch
    lnav
    git
    lsd
    duf
    htop
    btop
    kitty.terminfo
    jq
    yq
    pv
    dig
    cinnamon.nemo
    gnome-console
    kitty
    feh
    vimPlugins.vim-nix
    neovim
    tree
  ];

  system.stateVersion = "23.05";
}