diff --git a/nixos-infect b/nixos-infect index 583290a..cfa7e85 100644 --- a/nixos-infect +++ b/nixos-infect @@ -28,8 +28,7 @@ makeConf() { [[ -n "$doNetConf" ]] && network_import="./networking.nix # generated at runtime by nixos-infect" cat > /etc/nixos/configuration.nix << EOF -{ config, pkgs, ... }: -{ +{ config, pkgs, ... }: { imports = [ ./hardware-configuration.nix $network_import