From 4262e1f600ca3d8317f095bb8e511e5243fe0238 Mon Sep 17 00:00:00 2001 From: nzbr Date: Tue, 1 Feb 2022 04:01:13 +0100 Subject: move build-tarball to a flake module --- configuration.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'configuration.nix') 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 ''; + }; } -- cgit v1.2.3