mirror of
https://github.com/librephoenix/nixos-config
synced 2025-04-20 17:24:35 +05:30
format
This commit is contained in:
parent
11cb5f546a
commit
f3be463ee9
|
@ -11,7 +11,7 @@ fi
|
||||||
nix-shell -p git --command "git clone https://github.com/ponymushama/nixos-config.git $SCRIPT_DIR"
|
nix-shell -p git --command "git clone https://github.com/ponymushama/nixos-config.git $SCRIPT_DIR"
|
||||||
|
|
||||||
# Generate hardware config for new system
|
# Generate hardware config for new system
|
||||||
sudo nixos-generate-config --show-hardware-config >$SCRIPT_DIR/system/hardware-configuration.nix
|
sudo nixos-generate-config --show-hardware-config > $SCRIPT_DIR/system/hardware-configuration.nix
|
||||||
|
|
||||||
# Check if uefi or bios
|
# Check if uefi or bios
|
||||||
if [ -d /sys/firmware/efi/efivars ]; then
|
if [ -d /sys/firmware/efi/efivars ]; then
|
||||||
|
|
Loading…
Reference in a new issue