mirror of
https://gitlab.com/ahoneybun/nyxi-installer.git
synced 2025-05-12 11:04:02 -06:00
Add Thelio with NVIDIA sed option
This commit is contained in:
parent
123f0e32b5
commit
6dcc21244a
1 changed files with 4 additions and 1 deletions
|
@ -161,7 +161,7 @@ elif [ $deviceChoice = 3 ]; then
|
|||
sudo sed -i "11 i \ ./galp4.nix" /mnt/etc/nixos/configuration.nix
|
||||
|
||||
elif [ $deviceChoice = 4 ]; then
|
||||
curl https://gitlab.com/ahoneybun/nix-configs/-/raw/main/systems/thelio-nvidia.nix > configuration.nix; sudo mv -f configuration.nix /mnt/etc/nixos/
|
||||
|
||||
|
||||
elif [ $deviceChoice = 5 ]; then
|
||||
curl https://gitlab.com/ahoneybun/nix-configs/-/raw/main/systems/hp-omen.nix > hp-omen.nix; sudo mv -f hp-omen.nix /mnt/etc/nixos/
|
||||
|
@ -180,5 +180,8 @@ fi
|
|||
# Replace LUKS device
|
||||
sudo sed -i "s#/dev/sda#$rootName#g" /mnt/etc/nixos/configuration.nix
|
||||
|
||||
# Disable latest kernel for Thelio with NVIDIA GPU
|
||||
sudo sed -i "s/boot.kernelPackages/# boot.kernelPackages/g" /mnt/etc/nixos/configuration.nix
|
||||
|
||||
# Install
|
||||
sudo nixos-install
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue