summary refs log tree commit diff
path: root/host/Rory-wsl/configuration.nix
blob: 8aa8f3e953144245454c9796a2b7b0ba5747dd1a (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
47
{ lib, pkgs, config, modulesPath, ... }:

{
  imports = [
    ../../modules/base-client.nix
  ];
  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;

  };
  networking.hostName = "Rory-wsl";

  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";
  home-manager.users.Rory.home.stateVersion = lib.mkForce "23.05";
}