From 8cad569cef9f311c59ba54b84d5ae0c8ab0cfe13 Mon Sep 17 00:00:00 2001 From: naturallaw77 Date: Sat, 15 Jul 2023 14:06:32 -0700 Subject: [PATCH] updated psp.sh --- for_new_sovran_pros/psp.sh | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) 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