made hosts/main.nix so that i can also use it on the hpm-laptop.nix...
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user