summary refs log tree commit diff
path: root/host/Rory-wsl/configuration.nix
blob: 8c82c9ebad1b57573547c2bbdf9770613e593788 (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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
{ lib, pkgs, config, modulesPath, nhekoSrc, mtxclientSrc, ... }:

{
  imports = [
    ../../modules/base-client.nix
    ../../modules/software-templates/profilers.nix
    ../../modules/software-templates/dotnet.client.nix
  ];
  wsl = {
    enable = true;
    automountPath = "/mnt";
    #defaultUser = "nixos";
    defaultUser = "Rory";
    startMenuLaunchers = true;

    # Fix binfmt registration
    interop.register = 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";
  users.users.Rory.uid = 1000;

  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
    
    vscode
    temurin-bin
    obsidian
    (callPackage ../../modules/packages/nheko-git.nix { inherit nhekoSrc; inherit mtxclientSrc; })
  ];

  programs.firefox = {
    enable = true;
    package = pkgs.firefox-devedition;
    #preferencesStatus = "default";
    wrapperConfig.speechSynthesisSupport = false;
  };


  system.stateVersion = "23.05";
  home-manager.users.Rory.home.stateVersion = lib.mkForce "23.05";
}