summaryrefslogtreecommitdiff
path: root/tests/shells.Tests.ps1
diff options
context:
space:
mode:
Diffstat (limited to 'tests/shells.Tests.ps1')
-rw-r--r--tests/shells.Tests.ps19
1 files changed, 7 insertions, 2 deletions
diff --git a/tests/shells.Tests.ps1 b/tests/shells.Tests.ps1
index 184014b..6bcc640 100644
--- a/tests/shells.Tests.ps1
+++ b/tests/shells.Tests.ps1
@@ -11,10 +11,15 @@ Describe "Shells" {
@"
{ pkgs, lib, config, options, ... }:
with lib; {
- imports = [ ./base.nix ];
+ imports = [
+ <nixos-wsl/modules>
+ ];
config = mkMerge [
- { users.users.`${config.wsl.defaultUser}.shell = pkgs.$package; }
+ {
+ wsl.enable = true;
+ users.users.nixos.shell = pkgs.$package;
+ }
(optionalAttrs (hasAttrByPath ["programs" "$package" "enable"] options) {
programs.$package.enable = true;
})