feat(flake): shorter devshell commands

nixos
Moritz Böhme 2023-10-28 15:19:29 +02:00
parent 528098839d
commit 4cb8457075
Signed by: moritz
GPG Key ID: 970C6E89EB0547A9
1 changed files with 4 additions and 4 deletions

View File

@ -120,7 +120,7 @@
''; '';
} }
{ {
name = "nixos-build"; name = "build";
help = "use nom to build system"; help = "use nom to build system";
command = command =
'' ''
@ -128,17 +128,17 @@
''; '';
} }
{ {
name = "nixos-switch"; name = "apply";
help = "wrapper for nixos-rebuild switch"; help = "wrapper for nixos-rebuild switch";
command = "sudo nixos-rebuild switch --flake . $@"; command = "sudo nixos-rebuild switch --flake . $@";
} }
{ {
name = "nixos-test"; name = "test";
help = "wrapper for nixos-rebuild switch"; help = "wrapper for nixos-rebuild switch";
command = "sudo nixos-rebuild test --flake . $@"; command = "sudo nixos-rebuild test --flake . $@";
} }
{ {
name = "nixos-boot"; name = "boot";
help = "wrapper for nixos-rebuild switch"; help = "wrapper for nixos-rebuild switch";
command = "sudo nixos-rebuild boot --flake . $@"; command = "sudo nixos-rebuild boot --flake . $@";
} }