summary refs log tree commit diff
path: root/nixos/release.nix
diff options
context:
space:
mode:
authorJaka Hudoklin <jakahudoklin@gmail.com>2014-12-11 22:58:17 +0100
committerJaka Hudoklin <jakahudoklin@gmail.com>2014-12-11 23:17:27 +0100
commitdeb28cf0b1af905f007a9219e1e11da6859faede (patch)
treec4b11429bc9e1c88a9329c405ecfd1bdbc484a63 /nixos/release.nix
parenta782b890d53b5c8a336677bb7c5394f9afb4c39b (diff)
downloadnixpkgs-deb28cf0b1af905f007a9219e1e11da6859faede.tar
nixpkgs-deb28cf0b1af905f007a9219e1e11da6859faede.tar.gz
nixpkgs-deb28cf0b1af905f007a9219e1e11da6859faede.tar.bz2
nixpkgs-deb28cf0b1af905f007a9219e1e11da6859faede.tar.lz
nixpkgs-deb28cf0b1af905f007a9219e1e11da6859faede.tar.xz
nixpkgs-deb28cf0b1af905f007a9219e1e11da6859faede.tar.zst
nixpkgs-deb28cf0b1af905f007a9219e1e11da6859faede.zip
nixos: container tarball release
- Create container nixos profile
- Create lxc-container nixos config using container nixos profile
- Docker nixos image, use nixos profile for its base config
Diffstat (limited to 'nixos/release.nix')
-rw-r--r--nixos/release.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/nixos/release.nix b/nixos/release.nix
index b0932c318c9..efc49adce46 100644
--- a/nixos/release.nix
+++ b/nixos/release.nix
@@ -213,6 +213,12 @@ in rec {
     inherit system;
   });
 
+  # Provide container tarball for lxc, libvirt-lxc, docker-lxc, ...
+  container_tarball = forAllSystems (system: makeSystemTarball {
+    module = ./modules/virtualisation/lxc-container.nix;
+    inherit system;
+  });
+
   /*
   system_tarball_fuloong2f =
     assert builtins.currentSystem == "mips64-linux";