feat: update kernel, add patches for backlight, etc.
This commit is contained in:
@ -5,7 +5,7 @@ efi_part_label=i_t14sg6_efi
|
||||
nix_part_label=i_t14sg6_nix
|
||||
boot_size=256M
|
||||
|
||||
fallocate -l4G ${file}
|
||||
fallocate -l8G ${file}
|
||||
|
||||
parted ${file} mklabel gpt
|
||||
parted ${file} mkpart ${efi_part_label} fat32 0% ${boot_size}
|
||||
@ -23,7 +23,7 @@ mkdir /mnt/boot
|
||||
mount ${drive}p1 /mnt/boot
|
||||
|
||||
mkdir -p /mnt/etc/nixos
|
||||
cp -r pkgs *.nix /mnt/etc/nixos/
|
||||
cp -r patches pkgs *.nix /mnt/etc/nixos/
|
||||
nixos-install --root /mnt --no-root-password
|
||||
|
||||
umount -R /mnt
|
||||
|
Reference in New Issue
Block a user