add some commands to shell.nix
This commit is contained in:
12
shell.nix
12
shell.nix
@ -87,9 +87,14 @@ pkgs.devshell.mkShell {
|
||||
}
|
||||
{
|
||||
name = "rebuild-build-nixinator";
|
||||
help = "Rebuild and diff the nixinator config (to diff systems)";
|
||||
help = "Rebuild the nixinator config (to diff systems)";
|
||||
command = "sudo nixos-rebuild build --flake .#nixinator";
|
||||
}
|
||||
{
|
||||
name = "rebuild-boot-nixinator";
|
||||
help = "Rebuild and activate config on next boot";
|
||||
command = "sudo nixos-rebuild boot --flake .#nixinator";
|
||||
}
|
||||
{
|
||||
name = "rebuild-switch-nixtop";
|
||||
help = "Rebuild and activate the nixtop config";
|
||||
@ -100,6 +105,11 @@ pkgs.devshell.mkShell {
|
||||
help = "Rebuild and diff the nixtop config (to diff systems)";
|
||||
command = "sudo nixos-rebuild build --flake .#nixtop";
|
||||
}
|
||||
{
|
||||
name = "rebuild-boot-nixtop";
|
||||
help = "Rebuild and activate config on next boot";
|
||||
command = "sudo nixos-rebuild boot --flake .#nixtop";
|
||||
}
|
||||
|
||||
# Help text (this is pretty stupid)
|
||||
{
|
||||
|
Reference in New Issue
Block a user