-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from snowfallorg/feat/flake-command-compat
feat: flake command compat
- Loading branch information
Showing
6 changed files
with
385 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
echo -e " | ||
${text_bold}${text_fg_blue}flake${text_reset} ${text_fg_white}boot${text_reset} | ||
${text_bold}DESCRIPTION${text_reset} | ||
Set a NixOS configuration as the bootable system. | ||
${text_bold}USAGE${text_reset} | ||
${text_dim}\$${text_reset} ${text_bold}flake boot${text_reset} <name> [options] | ||
${text_bold}OPTIONS${text_reset} | ||
--help, -h Show this help message | ||
--debug Show debug messages | ||
--show-trace Show a trace when a Nix command fails | ||
${text_bold}EXAMPLES${text_reset} | ||
${text_dim}# Boot a configuration with the same hostname from the flake in the current directory.${text_reset} | ||
${text_dim}\$${text_reset} ${text_bold}flake boot${text_reset} | ||
${text_dim}# Boot a specific configuration from the flake in the current directory.${text_reset} | ||
${text_dim}\$${text_reset} ${text_bold}flake boot${text_reset} ${text_underline}my-system${text_reset} | ||
${text_dim}# Pick a configuration to boot from the flake in the current directory.${text_reset} | ||
${text_dim}\$${text_reset} ${text_bold}flake boot${text_reset} --pick | ||
${text_dim}# Boot a configuration from a specific flake.${text_reset} | ||
${text_dim}\$${text_reset} ${text_bold}flake boot${text_reset} ${text_underline}github:jakehamilton/config#bismuth${text_reset} | ||
${text_dim}# Pick configuration from a specific flake.${text_reset} | ||
${text_dim}\$${text_reset} ${text_bold}flake boot${text_reset} ${text_underline}github:jakehamilton/config${text_reset} --pick | ||
" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
echo -e " | ||
${text_bold}${text_fg_blue}flake${text_reset} ${text_fg_white}show${text_reset} | ||
${text_bold}DESCRIPTION${text_reset} | ||
Show the outputs of a Nix Flake. | ||
${text_bold}USAGE${text_reset} | ||
${text_dim}\$${text_reset} ${text_bold}flake show${text_reset} <name> [options] | ||
${text_bold}OPTIONS${text_reset} | ||
--help, -h Show this help message | ||
--debug Show debug messages | ||
--show-trace Show a trace when a Nix command fails | ||
${text_bold}EXAMPLES${text_reset} | ||
${text_dim}# Show outputs from the flake in the current directory.${text_reset} | ||
${text_dim}\$${text_reset} ${text_bold}flake show${text_reset} | ||
${text_dim}# Show outputs from a specific flake.${text_reset} | ||
${text_dim}\$${text_reset} ${text_bold}flake show${text_reset} ${text_underline}github:jakehamilton/config${text_reset} | ||
" |
Oops, something went wrong.