summary refs log tree commit diff
path: root/host/Rory-wsl/configuration.nix
blob: 313eeb4fc7f819aced7a01e2b1c52e0204ac4005 (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 = "23.05";
}