update: add WSL

This commit is contained in:
2025-07-08 14:52:17 +00:00
parent 585e8fcd8c
commit 560e8e5a00
4 changed files with 134 additions and 4 deletions

View File

@@ -25,6 +25,7 @@
nixCats = {
url = "github:BirdeeHub/nixCats-nvim";
};
nixos-wsl.url = "github:nix-community/NixOS-WSL/main";
stylix.url = "github:danth/stylix";
};
@@ -32,6 +33,7 @@
nixpkgs,
nix-darwin,
nix-on-droid,
nixos-wsl,
...
}: {
nixosConfigurations = {
@@ -56,6 +58,13 @@
./hosts/macvm/configuration.nix
];
};
wsl = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = {inherit inputs;};
modules = [
./hosts/wsl/configuration.nix
];
};
};
darwinConfigurations = {