Use colspan for headers instead of hacky workaround, add commented-out infrequently-used commands section

This commit is contained in:
Anthony Wang 2025-12-26 16:45:22 -06:00
parent dbc376980a
commit 13d16d639b
Signed by: xy
SSH key fingerprint: SHA256:B5ADfMCqd2M7d/jtXDoihAV/yfXOAbWWri9+GdCN4hQ
2 changed files with 1674 additions and 1754 deletions

File diff suppressed because it is too large Load diff

View file

@ -32,7 +32,7 @@
table.header(
level: 2,
repeat: false,
table.cell(fill: aqua)[*Running software*], table.cell(fill: aqua)[],
table.cell(fill: red, colspan: 2)[*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: lime)[*Building the system*], table.cell(fill: lime)[],
table.cell(fill: orange, colspan: 2)[*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)[*System generations*], table.cell(fill: yellow)[],
table.cell(fill: yellow, colspan: 2)[*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: orange)[*Store operations*], table.cell(fill: orange)[],
table.cell(fill: lime, colspan: 2)[*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: fuchsia)[*Nix development*], table.cell(fill: fuchsia)[],
table.cell(fill: aqua, colspan: 2)[*Nix development*],
),
[Run Nix file], ```bash nix eval -f main.nix```,
[Inspect system config in REPL],
@ -115,4 +115,17 @@
[Format flake],
[Add `formatter.${system} = pkgs.nixfmt-tree;` to your flake outputs, then run ```bash nix fmt```],
/*
table.header(
level: 2,
repeat: false,
table.cell(fill: fuchsia, colspan: 2)[*Infrequently-used commands*],
),
[Check flake], ```bash nix flake check```,
[Get shell with dependencies of package],
```bash nix develop nixpkgs#hello```,
[Create portable archive of package], ```bash nix bundle nixpkgs#hello```,
*/
)