]> gitweb.ps.run Git - flake_thinkpad/blobdiff - flake.nix
update
[flake_thinkpad] / flake.nix
index 918689c73dcd22e0cc1c1b26e721c1913f007854..70c68f6e535ed3d4e020cef0e868d47c8e6421fe 100644 (file)
--- a/flake.nix
+++ b/flake.nix
@@ -26,6 +26,8 @@
       url = "git://ps.run/flakes";
       inputs.nixpkgs.follows = "nixpkgs";
     };
       url = "git://ps.run/flakes";
       inputs.nixpkgs.follows = "nixpkgs";
     };
+
+    nixos-wsl.url = "github:nix-community/NixOS-WSL/main";
   };
 
   outputs = { self, nixpkgs, ... }@inputs: {
   };
 
   outputs = { self, nixpkgs, ... }@inputs: {
         ./config-incus.nix
         
         inputs.home-manager.nixosModules.default
         ./config-incus.nix
         
         inputs.home-manager.nixosModules.default
+        inputs.nixos-wsl.nixosModules.default {
+          system.stateVersion = "24.11";
+          wsl.enable = true;
+        }
       ];
     };
   };
       ];
     };
   };