summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--flake.nix4
-rw-r--r--machines/wsl.nix4
2 files changed, 6 insertions, 2 deletions
diff --git a/flake.nix b/flake.nix
index 9e83481..760ac5a 100644
--- a/flake.nix
+++ b/flake.nix
@@ -8,6 +8,10 @@
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
+ nixos-wsl = {
+ url = "github:nix-community/NixOS-WSL";
+ inputs.nixpkgs.follows = "nixpkgs";
+ };
};
outputs = inputs@{
diff --git a/machines/wsl.nix b/machines/wsl.nix
index d5ea21c..77c3c74 100644
--- a/machines/wsl.nix
+++ b/machines/wsl.nix
@@ -1,8 +1,8 @@
-{ config, lib, pkgs, ... }:
+{ inputs, config, lib, pkgs, ... }:
{
imports = [
- <nixos-wsl/modules>
+ inputs.nixos-wsl.nixosModules.default
];
wsl.enable = true;