diff options
| author | nzbr <mail@nzbr.de> | 2022-02-01 04:01:13 +0100 |
|---|---|---|
| committer | nzbr <mail@nzbr.de> | 2022-02-01 04:01:13 +0100 |
| commit | 4262e1f600ca3d8317f095bb8e511e5243fe0238 (patch) | |
| tree | 501bc65aaefa7bd60553ae7eec76b4b0e8950925 /configuration.nix | |
| parent | a487bcf303bffb418edda23c9e5ec1d5dbf739c3 (diff) | |
move build-tarball to a flake module
Diffstat (limited to 'configuration.nix')
| -rw-r--r-- | configuration.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/configuration.nix b/configuration.nix index c64aa06..05df82f 100644 --- a/configuration.nix +++ b/configuration.nix @@ -5,10 +5,13 @@ let defaultUser = "nixos"; automountPath = "/mnt"; syschdemd = import ./syschdemd.nix { inherit lib pkgs config defaultUser; }; + nixos-wsl = import ./default.nix; in { - imports = [ + imports = with nixos-wsl.nixosModules; [ "${modulesPath}/profiles/minimal.nix" + + build-tarball ]; # WSL is closer to a container than anything else @@ -68,4 +71,5 @@ in ${pkgs.rsync}/bin/rsync -ar --delete $systemConfig/sw/share/$x/. /usr/share/$x done ''; + }; } |
