diff options
author | Jaka Hudoklin <jakahudoklin@gmail.com> | 2014-12-12 20:28:01 +0100 |
---|---|---|
committer | Jaka Hudoklin <jakahudoklin@gmail.com> | 2014-12-12 20:28:01 +0100 |
commit | d8ee91cb54c267a5a119d59746e80ca61015775e (patch) | |
tree | df47f1125197e35e0f4fc30d9cd3b6d5da841daf /nixos/modules | |
parent | 2c85888a04986a25d18f7e1b1fb2a0f498e61ce8 (diff) | |
download | nixlib-d8ee91cb54c267a5a119d59746e80ca61015775e.tar nixlib-d8ee91cb54c267a5a119d59746e80ca61015775e.tar.gz nixlib-d8ee91cb54c267a5a119d59746e80ca61015775e.tar.bz2 nixlib-d8ee91cb54c267a5a119d59746e80ca61015775e.tar.lz nixlib-d8ee91cb54c267a5a119d59746e80ca61015775e.tar.xz nixlib-d8ee91cb54c267a5a119d59746e80ca61015775e.tar.zst nixlib-d8ee91cb54c267a5a119d59746e80ca61015775e.zip |
nixos: container profile, fix a few things
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/profiles/container.nix | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/nixos/modules/profiles/container.nix b/nixos/modules/profiles/container.nix index e6344a0d5c7a..dd2e6579a932 100644 --- a/nixos/modules/profiles/container.nix +++ b/nixos/modules/profiles/container.nix @@ -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 ''; |