Compare commits
6 Commits
83f4169ccd
...
default
Author | SHA1 | Date | |
---|---|---|---|
0047776a64
|
|||
dd5ec42dd9
|
|||
c79f9f40c3
|
|||
b64f5df391
|
|||
af27c25a81
|
|||
a56669ed5e
|
@ -11,13 +11,14 @@ Build
|
|||||||
Prebuilt
|
Prebuilt
|
||||||
|
|
||||||
TARGET=/dev/sdX
|
TARGET=/dev/sdX
|
||||||
wget https://github.com/jollheef/nixos-image-thinkpad-t14s-gen6/releases/download/v0.1.0/nixos-thinkpad-t14s-gen6-1aea2f8.img.xz
|
wget https://github.com/jollheef/nixos-image-thinkpad-t14s-gen6/releases/download/v0.2.0/nixos-thinkpad-t14s-gen6-dd5ec42.img.xz
|
||||||
xz -d nixos-thinkpad-t14s-gen6-1aea2f8.img.xz
|
xz -d nixos-thinkpad-t14s-gen6-dd5ec42.img.xz
|
||||||
sudo dd if=nixos-thinkpad-t14s-gen6-1aea2f8.img of=${TARGET}
|
sudo dd if=nixos-thinkpad-t14s-gen6-dd5ec42.img of=${TARGET}
|
||||||
sudo partprobe
|
sudo partprobe
|
||||||
sudo parted -sf ${TARGET} resizepart 2 100%
|
sudo parted -sf ${TARGET} resizepart 2 100%
|
||||||
|
|
||||||
## Notes
|
## Notes
|
||||||
|
|
||||||
- Use the front left USB-C port.
|
- Use the front left USB-C port.
|
||||||
|
- In case of boot issues, try using a USB 2.0 to USB Type-C adapter.
|
||||||
- nmtui is available for managing Wi-Fi connections.
|
- nmtui is available for managing Wi-Fi connections.
|
||||||
|
10
kernel.nix
10
kernel.nix
@ -7,11 +7,11 @@ let
|
|||||||
modDirVersion = "6.12.0-rc3";
|
modDirVersion = "6.12.0-rc3";
|
||||||
|
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "jhovold";
|
owner = "jhovold";
|
||||||
repo = "linux";
|
repo = "linux";
|
||||||
# wip/x1e80100-6.12-rc3
|
# wip/x1e80100-6.12-rc3
|
||||||
rev = "84318c8e3038f579070e7c5d109d1d2311a5f437";
|
rev = "84318c8e3038f579070e7c5d109d1d2311a5f437";
|
||||||
hash = "sha256-kpuzjqcI4YGS+S9OvIUhm6z8xCGMA5h5+JlcHhoEETM=";
|
hash = "sha256-kpuzjqcI4YGS+S9OvIUhm6z8xCGMA5h5+JlcHhoEETM=";
|
||||||
};
|
};
|
||||||
kernelPatches = (args.kernelPatches or [ ]);
|
kernelPatches = (args.kernelPatches or [ ]);
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ efi_part_label=i_t14sg6_efi
|
|||||||
nix_part_label=i_t14sg6_nix
|
nix_part_label=i_t14sg6_nix
|
||||||
boot_size=256M
|
boot_size=256M
|
||||||
|
|
||||||
fallocate -l8G ${file}
|
fallocate -l4G ${file}
|
||||||
|
|
||||||
parted ${file} mklabel gpt
|
parted ${file} mklabel gpt
|
||||||
parted ${file} mkpart ${efi_part_label} fat32 0% ${boot_size}
|
parted ${file} mkpart ${efi_part_label} fat32 0% ${boot_size}
|
||||||
|
Reference in New Issue
Block a user