updated psp.sh

This commit is contained in:
naturallaw77 2023-07-15 14:06:32 -07:00
parent 9f72be2069
commit 8cad569cef

View File

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