made hosts/main.nix so that i can also use it on the hpm-laptop.nix...

This commit is contained in:
Sebastian Moser
2023-10-31 13:57:21 +00:00
parent fef4f8e219
commit 30fe098ee9
5 changed files with 82 additions and 72 deletions

View File

@@ -259,7 +259,7 @@
function nixre(){
if [ "$1" == "boot" ]
then
nix build ~/work/config#nixosConfigurations.c2vi-main.config.system.build.toplevel --impure ''${@:2}
nix build github:c2vi/nixos#nixosConfigurations.c2vi-main.config.system.build.toplevel --impure ''${@:2}
sudo ./result/bin/switch-to-configuration boot
rm ./result
else