@@ -111,7 +111,7 @@ copy_secure_boot_keys() {
|
||||
mount --bind -o X-fstrim.notrim,x-gvfs-hide "$root/persist/state/var/lib/sbctl" "$root/var/lib/sbctl"
|
||||
}
|
||||
|
||||
install() {
|
||||
install_nixos() {
|
||||
nixos-install --root "$root" --flake "$flake#$host" --no-root-passwd
|
||||
}
|
||||
|
||||
@@ -180,7 +180,7 @@ main() {
|
||||
copy_sops_keys
|
||||
copy_secure_boot_keys
|
||||
|
||||
install
|
||||
install_nixos
|
||||
|
||||
[[ "$enroll_secure_boot_flag" == "true" ]] && enroll_secure_boot
|
||||
[[ "$copy_config_flag" == "true" ]] && copy_config
|
||||
|
Reference in New Issue
Block a user