Cheatsheet: Difference between revisions
imported>Dramforever No edit summary |
imported>Dramforever No edit summary |
||
Line 395: | Line 395: | ||
Step 2: Do this for all changes: | Step 2: Do this for all changes: | ||
Run this, replacing | Run this, replacing <code>$action</code> with the action (one of <code>boot</code>, <code>switch</code>, <code>test</code>): | ||
<syntaxHighlight lang="console"> | <syntaxHighlight lang="console"> | ||
$ | $ /nix/var/nix/profiles/system/bin/switch-to-configuration $action | ||
</syntaxHighlight> | </syntaxHighlight> | ||
If you use a different profile name the procedure is similar, but use <code>/nix/var/nix/profiles/system-profiles/$profileName</code> instead of <code>/nix/var/nix/profiles/system</code>. | |||
=== Building a service as a VM (for testing) === | === Building a service as a VM (for testing) === |