diff --git a/for_new_sovran_pros/psp.sh b/for_new_sovran_pros/psp.sh index e55ddee..67322c0 100644 --- a/for_new_sovran_pros/psp.sh +++ b/for_new_sovran_pros/psp.sh @@ -37,8 +37,11 @@ rm /mnt/etc/nixos/configuration.nix cat <> /mnt/etc/nixos/configuration.nix { config, pkgs, ... }: { + imports = [ + ./hardware-configuration.nix + ]; boot.loader.systemd-boot.enable = true; @@ -46,10 +49,10 @@ cat <> /mnt/etc/nixos/configuration.nix boot.loader.efi.efiSysMountPoint = "/boot/efi"; nix = { - package = pkgs.nixUnstable; - extraOptions = '' - experimental-features = nix-command flakes - ''; + package = pkgs.nixUnstable; + extraOptions = '' + experimental-features = nix-command flakes + ''; }; users.users = { @@ -58,6 +61,7 @@ cat <> /mnt/etc/nixos/configuration.nix description = "free"; extraGroups = [ "networkmanager" ]; }; + }; environment.systemPackages = with pkgs; [ wget @@ -71,7 +75,7 @@ cat <> /mnt/etc/nixos/configuration.nix services.openssh = { enable = true; permitRootLogin = "yes"; - }; + }; } EOT