X-Git-Url: https://gitweb.ps.run/flake_thinkpad/blobdiff_plain/7c6631e307cb5e6848200f3b6c3421fae08d8e23..6e68d78660f7d1c12fc8f14bd85b4532fc76bf77:/flake.nix?ds=sidebyside diff --git a/flake.nix b/flake.nix index 918689c..70c68f6 100644 --- a/flake.nix +++ b/flake.nix @@ -26,6 +26,8 @@ url = "git://ps.run/flakes"; inputs.nixpkgs.follows = "nixpkgs"; }; + + nixos-wsl.url = "github:nix-community/NixOS-WSL/main"; }; outputs = { self, nixpkgs, ... }@inputs: { @@ -42,6 +44,10 @@ ./config-incus.nix inputs.home-manager.nixosModules.default + inputs.nixos-wsl.nixosModules.default { + system.stateVersion = "24.11"; + wsl.enable = true; + } ]; }; };