nixos: container profile, fix a few things
This commit is contained in:
parent
2c85888a04
commit
d8ee91cb54
@ -41,9 +41,7 @@ in {
|
|||||||
rm /nix-path-registration
|
rm /nix-path-registration
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# nixos-rebuild also requires a "system" profile and an
|
# nixos-rebuild also requires a "system" profile
|
||||||
# /etc/NIXOS tag.
|
|
||||||
touch /etc/NIXOS
|
|
||||||
${config.nix.package}/bin/nix-env -p /nix/var/nix/profiles/system --set /run/current-system
|
${config.nix.package}/bin/nix-env -p /nix/var/nix/profiles/system --set /run/current-system
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
@ -214,7 +214,7 @@ in rec {
|
|||||||
});
|
});
|
||||||
|
|
||||||
# Provide container tarball for lxc, libvirt-lxc, docker-lxc, ...
|
# Provide container tarball for lxc, libvirt-lxc, docker-lxc, ...
|
||||||
container_tarball = forAllSystems (system: makeSystemTarball {
|
containerTarball = forAllSystems (system: makeSystemTarball {
|
||||||
module = ./modules/virtualisation/lxc-container.nix;
|
module = ./modules/virtualisation/lxc-container.nix;
|
||||||
inherit system;
|
inherit system;
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user