mirror of
https://gitlab.com/Zaney/zaneyos.git
synced 2024-11-22 14:43:08 +01:00
add sudo to hardware generation
This commit is contained in:
parent
2eac13d57f
commit
e4dc5144cd
@ -76,7 +76,7 @@ read -p "Enter Your GPU Type : " gpuType
|
||||
sed -i "/^\s*gpuType[[:space:]]*=[[:space:]]*\"/s/\"\(.*\)\"/\"$gpuType\"/" ./options.nix
|
||||
|
||||
echo "Generating The Hardware Configuration"
|
||||
nixos-generate-config --show-hardware-config > hardware.nix
|
||||
sudo nixos-generate-config --show-hardware-config > hardware.nix
|
||||
|
||||
echo "-----"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user