nixos: container profile, fix a few things

This commit is contained in:
Jaka Hudoklin 2014-12-12 20:28:01 +01:00
parent 2c85888a04
commit d8ee91cb54
2 changed files with 2 additions and 4 deletions

View file

@ -41,9 +41,7 @@ in {
rm /nix-path-registration
fi
# nixos-rebuild also requires a "system" profile and an
# /etc/NIXOS tag.
touch /etc/NIXOS
# nixos-rebuild also requires a "system" profile
${config.nix.package}/bin/nix-env -p /nix/var/nix/profiles/system --set /run/current-system
'';

View file

@ -214,7 +214,7 @@ in rec {
});
# Provide container tarball for lxc, libvirt-lxc, docker-lxc, ...
container_tarball = forAllSystems (system: makeSystemTarball {
containerTarball = forAllSystems (system: makeSystemTarball {
module = ./modules/virtualisation/lxc-container.nix;
inherit system;
});