Doas: Difference between revisions

Fio (talk | contribs)
m Rewording - defines what "it" is
DHCP (talk | contribs)
m Rebuilding without Git in system packages: enable syntax highlighting for shell commands
 
Line 47: Line 47:
</translate>
</translate>
<translate>
<translate>
  $ doas su
<syntaxhighlight lang=console>
  $ nix shell nixpkgs#git  # Or you can use the legacy syntax `nix-shell -p git`
$ doas su
  $ nixos-rebuild --flake /path/to/your/flake#your-hostname test
$ 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>
  $ exit
<syntaxhighlight lang=console>
  $ doas nixos-rebuild --flake /path/to/your/flake#your-hostname switch
$ exit
$ doas nixos-rebuild --flake /path/to/your/flake#your-hostname switch
</syntaxhighlight>
</translate>
</translate>
[[Category:Applications]]
[[Category:Applications]]
[[Category:Security]]
[[Category:Security]]