Сравнить коммиты
6 Коммитов
83f4169ccd
...
default
Автор | SHA1 | Дата | |
---|---|---|---|
0047776a64
|
|||
dd5ec42dd9
|
|||
c79f9f40c3
|
|||
b64f5df391
|
|||
af27c25a81
|
|||
a56669ed5e
|
@ -11,13 +11,14 @@ Build
|
||||
Prebuilt
|
||||
|
||||
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
|
||||
xz -d nixos-thinkpad-t14s-gen6-1aea2f8.img.xz
|
||||
sudo dd if=nixos-thinkpad-t14s-gen6-1aea2f8.img of=${TARGET}
|
||||
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-dd5ec42.img.xz
|
||||
sudo dd if=nixos-thinkpad-t14s-gen6-dd5ec42.img of=${TARGET}
|
||||
sudo partprobe
|
||||
sudo parted -sf ${TARGET} resizepart 2 100%
|
||||
|
||||
## Notes
|
||||
|
||||
- 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.
|
||||
|
10
kernel.nix
10
kernel.nix
@ -7,11 +7,11 @@ let
|
||||
modDirVersion = "6.12.0-rc3";
|
||||
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "jhovold";
|
||||
repo = "linux";
|
||||
# wip/x1e80100-6.12-rc3
|
||||
rev = "84318c8e3038f579070e7c5d109d1d2311a5f437";
|
||||
hash = "sha256-kpuzjqcI4YGS+S9OvIUhm6z8xCGMA5h5+JlcHhoEETM=";
|
||||
owner = "jhovold";
|
||||
repo = "linux";
|
||||
# wip/x1e80100-6.12-rc3
|
||||
rev = "84318c8e3038f579070e7c5d109d1d2311a5f437";
|
||||
hash = "sha256-kpuzjqcI4YGS+S9OvIUhm6z8xCGMA5h5+JlcHhoEETM=";
|
||||
};
|
||||
kernelPatches = (args.kernelPatches or [ ]);
|
||||
|
||||
|
@ -5,7 +5,7 @@ efi_part_label=i_t14sg6_efi
|
||||
nix_part_label=i_t14sg6_nix
|
||||
boot_size=256M
|
||||
|
||||
fallocate -l8G ${file}
|
||||
fallocate -l4G ${file}
|
||||
|
||||
parted ${file} mklabel gpt
|
||||
parted ${file} mkpart ${efi_part_label} fat32 0% ${boot_size}
|
||||
|
Ссылка в новой задаче
Block a user