The devshell for the project incudes a convenient script for managing your
system called flk
. Each of the following chapters is a reference for one of
its subcommands.
Without any of the subcommands, flk
acts as a convenient shortcut for
nixos-rebuild
:
flk NixOS build
Will build hosts/NixOS.nix. You can change out build
for switch
, test
,
etc. Any additional arguments are passed through to the call to
nixos-rebuild
.
flk help