initial wsl setup
This commit is contained in:
parent
3fdfed5765
commit
30ce47b804
6 changed files with 185 additions and 9 deletions
26
systems/x86_64-linux/wsl/default.nix
Normal file
26
systems/x86_64-linux/wsl/default.nix
Normal file
|
@ -0,0 +1,26 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
with lib.wyrdgard;
|
||||
{
|
||||
wsl = {
|
||||
enable = true;
|
||||
defaultUser = config.wyrdgard.user.name;
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
git
|
||||
wslu
|
||||
wsl-open
|
||||
];
|
||||
|
||||
wyrdgard = {
|
||||
submodules.basics-wsl = enabled;
|
||||
};
|
||||
|
||||
system.stateVersion = "24.11";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue