Center the headings

This commit is contained in:
Anthony Wang 2025-12-26 17:00:44 -06:00
parent 13d16d639b
commit 4f963c1ce8
Signed by: xy
SSH key fingerprint: SHA256:B5ADfMCqd2M7d/jtXDoihAV/yfXOAbWWri9+GdCN4hQ
2 changed files with 69 additions and 72 deletions

View file

@ -32,7 +32,7 @@
table.header(
level: 2,
repeat: false,
table.cell(fill: red, colspan: 2)[*Running software*],
table.cell(fill: red, colspan: 2, align: center)[*Running software*],
),
[Search for software],
[```bash nix search nixpkgs hello``` #footnote[This evaluates nixpkgs so the first run may be slow, but further runs used cached results]],
@ -54,7 +54,7 @@
table.header(
level: 2,
repeat: false,
table.cell(fill: orange, colspan: 2)[*Building the system*],
table.cell(fill: orange, colspan: 2, align: center)[*Building the system*],
),
[Update flake inputs], ```bash nix flake update```,
[Build and deploy to this machine], ```bash nixos-rebuild switch --sudo```,
@ -73,7 +73,7 @@
table.header(
level: 2,
repeat: false,
table.cell(fill: yellow, colspan: 2)[*System generations*],
table.cell(fill: yellow, colspan: 2, align: center)[*System generations*],
),
[List system generations], ```bash nixos-rebuild list-generations```,
[Get changes between system generations],
@ -86,7 +86,7 @@
table.header(
level: 2,
repeat: false,
table.cell(fill: lime, colspan: 2)[*Store operations*],
table.cell(fill: lime, colspan: 2, align: center)[*Store operations*],
),
[Get size of system],
```bash nix path-info -Sh /nix/var/nix/profiles/system```,
@ -107,7 +107,7 @@
table.header(
level: 2,
repeat: false,
table.cell(fill: aqua, colspan: 2)[*Nix development*],
table.cell(fill: aqua, colspan: 2, align: center)[*Nix development*],
),
[Run Nix file], ```bash nix eval -f main.nix```,
[Inspect system config in REPL],
@ -120,7 +120,7 @@
table.header(
level: 2,
repeat: false,
table.cell(fill: fuchsia, colspan: 2)[*Infrequently-used commands*],
table.cell(fill: fuchsia, colspan: 2, align: center)[*Infrequently-used commands*],
),
[Check flake], ```bash nix flake check```,
[Get shell with dependencies of package],