diff options
| -rw-r--r-- | flake.nix | 4 | ||||
| -rw-r--r-- | machines/wsl.nix | 4 |
2 files changed, 6 insertions, 2 deletions
@@ -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; |
