Setup nix flake to work with darwin, wsl and linux system configuration. This has ONLY been tested on Darwin so far.

This commit is contained in:
Martin Lasson 2025-01-26 00:29:25 +01:00
parent 5322764881
commit f0f8aeb7b8
15 changed files with 468 additions and 144 deletions

7
nix/system/wsl.nix Normal file
View file

@ -0,0 +1,7 @@
{ nixos-wsl, ... }: {
imports = [
nixosWSL.nixosModules.default
];
wsl.enable = true;
}