diff options
Diffstat (limited to 'tests/login-shell/session-variables.nix')
| -rw-r--r-- | tests/login-shell/session-variables.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/login-shell/session-variables.nix b/tests/login-shell/session-variables.nix index d6525ed..6829bbf 100644 --- a/tests/login-shell/session-variables.nix +++ b/tests/login-shell/session-variables.nix @@ -1,13 +1,15 @@ -{ config, pkgs, lib, ... }: +{ pkgs, lib, ... }: let ver = with lib; substring 0 5 version; in { imports = [ - ./base.nix + <nixos-wsl/modules> "${builtins.fetchTarball "https://github.com/nix-community/home-manager/archive/release-${ver}.tar.gz"}/nixos" ]; + wsl.enable = true; + home-manager.users.nixos = { ... }: { home = { stateVersion = ver; |
