Merge pull request #241953 from MultisampledNight/doc/fix-outdated-containers

doc: fix outdated /var/lib/container from pre-22.05 listing in NixOS manual
This commit is contained in:
Silvan Mosberger 2024-01-18 16:06:08 +01:00 committed by GitHub
commit ef8ce2794b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -77,7 +77,7 @@ Linux foo 3.4.82 #1-NixOS SMP Thu Mar 20 14:44:05 UTC 2014 x86_64 GNU/Linux
There are several ways to change the configuration of the container. There are several ways to change the configuration of the container.
First, on the host, you can edit First, on the host, you can edit
`/var/lib/container/name/etc/nixos/configuration.nix`, and run `/var/lib/nixos-containers/foo/etc/nixos/configuration.nix`, and run
```ShellSession ```ShellSession
# nixos-container update foo # nixos-container update foo