Doas: Difference between revisions
m Rewording - defines what "it" is |
m →Rebuilding without Git in system packages: enable syntax highlighting for shell commands |
||
| Line 47: | Line 47: | ||
</translate> | </translate> | ||
<translate> | <translate> | ||
<syntaxhighlight lang=console> | |||
$ doas su | |||
$ nix shell nixpkgs#git # Or you can use the legacy syntax `nix-shell -p git` | |||
$ nixos-rebuild --flake /path/to/your/flake#your-hostname test | |||
</syntaxhighlight> | |||
</translate> | </translate> | ||
<translate> | <translate> | ||
| Line 55: | Line 57: | ||
</translate> | </translate> | ||
<translate> | <translate> | ||
<syntaxhighlight lang=console> | |||
$ exit | |||
$ doas nixos-rebuild --flake /path/to/your/flake#your-hostname switch | |||
</syntaxhighlight> | |||
</translate> | </translate> | ||
[[Category:Applications]] | [[Category:Applications]] | ||
[[Category:Security]] | [[Category:Security]] | ||