frametop
(NixOS): My main workstation, a Framework Laptop 13.
Each host has its own folder under ./hosts
.
Inputs are managed separately in each host, using npins. This ensures hosts can be worked-on/upgraded individually without breaking other hosts.
All host directories have a set of dedicated input-management actions:
cd
into a host directory (under./hosts
)- Run
just
to print available host actions
Make sure just is available in $PATH
.
(note: use alias j=just
for shorter/quicker/faster everything 😉)
Run just
to print available repo actions
To build the OS config for host frametop
:
just dobuild frametop
To (build if neeeded, and) switch to the OS config for host frametop
:
sudo just doswitch frametop
Similar to previous section, but using re
prefix instead of do
and omitting the host name.
For example:
just rebuild # reb<TAB>
sudo just reswitch # res<TAB>
The name of the current host is determined by reading the first line of file ./current-host-name
(which is git-ignored).
Check ./current-host-name.example
for an example.