diff options
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/build-tarball.nix | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/modules/build-tarball.nix b/modules/build-tarball.nix index f48c9ce..577f044 100644 --- a/modules/build-tarball.nix +++ b/modules/build-tarball.nix @@ -21,7 +21,7 @@ let wsl.enable = true; wsl.defaultUser = "nixos"; - ${cfg.extraTarballConfig} + ${lib.optionalString (!cfg.nativeSystemd) "wsl.nativeSystemd = false;"} # This value determines the NixOS release from which the default # settings for stateful data, like file locations and database versions @@ -34,12 +34,6 @@ let ''; in { - options.wsl.extraTarballConfig = mkOption { - type = types.str; - internal = true; - default = ""; - }; - # These options make no sense without the wsl-distro module anyway config = mkIf cfg.enable { system.build.tarballBuilder = pkgs.writeShellApplication { |
