blob: 3c60f14fffbf5cb8d3112e6520c8c51e0cc9919f (
plain)
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
|
# WSL
# System configuration for any wsl instance
{
config,
pkgs,
inputs,
...
}: {
imports = [
inputs.nixos-wsl.nixosModules.default
];
# options
hostName = "wsl";
minimal = true;
wsl.enable = true;
wsl.defaultUser = config.user;
# packages
environment.systemPackages = with pkgs; [
(python3.withPackages (ppkgs:
with ppkgs; [
myst-parser
sphinx
]))
gnumake
texliveFull
inputs.self.packages.${system}.arcanist
];
# wsl ssh key
home-manager.users.${config.user} = {
programs.ssh = {
extraConfig = "IdentityFile ~/.ssh/id_wsl\n";
};
};
}
|