Proxmox Linux Container: Difference between revisions
Add instruction to execute /run/current-system/activate to properly load the current system environment. This makes nixos-rebuild and other commands available. |
|||
| Line 74: | Line 74: | ||
: set (missing) environment variables with <code>[[wikipedia:en:dot (command)#source|.]]</code> | : set (missing) environment variables with <code>[[wikipedia:en:dot (command)#source|.]]</code> | ||
:: <syntaxhighlight lang="shell">sh-5.2# . /etc/profile</syntaxhighlight> | :: <syntaxhighlight lang="shell">sh-5.2# . /etc/profile</syntaxhighlight> | ||
:: <syntaxhighlight lang="bash">[root@nixos:~]#</syntaxhighlight> | :: <syntaxhighlight lang="bash">[root@nixos:~]#</syntaxhighlight><syntaxhighlight lang="shell"> | ||
[root@nixos:~] /run/current-system/activate | |||
</syntaxhighlight> | |||
<!-- | <!-- | ||
or | or | ||