blob: f18b918a2ab731bd8a56e23bdad6b2c03b752b8b (
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
|
{ lib, pkgs, config, modulesPath, nhekoSrc, mtxclientSrc, ... }:
{
imports = [
../../modules/base-client.nix
../../modules/software-templates/profilers.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
(callPackage ../../modules/packages/nheko-git.nix { inherit nhekoSrc; inherit mtxclientSrc; })
];
system.stateVersion = "23.05";
home-manager.users.Rory.home.stateVersion = lib.mkForce "23.05";
}
|