Installing Nix on Crostini: Difference between revisions

imported>Matthewbauer
No edit summary
imported>Matthewbauer
No edit summary
Line 22: Line 22:
followed by.
followed by.


<code>
<pre>
cat > ~/.config/systemd/user/cros-garcon.service.d/override.conf <<EOF
cat > ~/.config/systemd/user/cros-garcon.service.d/override.conf <<EOF
[Service]
[Service]
Line 28: Line 28:
Environment="XDG_DATA_DIRS=%h/.nix-profile/share:%h/.local/share:/usr/local/share:/usr/share"
Environment="XDG_DATA_DIRS=%h/.nix-profile/share:%h/.local/share:/usr/local/share:/usr/share"
EOF
EOF
</code>
</pre>


Then we need to restart our container. I found restarting the whole laptop to be the easiest and most effective method.
Then we need to restart our container. I found restarting the whole laptop to be the easiest and most effective method.