aboutsummaryrefslogtreecommitdiff
path: root/nixos/modules/Rpi.md
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2025-01-23 15:31:16 +0100
committerKarel Kočí <cynerd@email.cz>2025-01-23 15:31:16 +0100
commit31661e73a6ce84a25be1b80ee898fe7fe63b16b6 (patch)
tree623e2efb274d96a9f027e8907110f7ae236f6a81 /nixos/modules/Rpi.md
parent49499f75055ce669a439ecdcd964ad64cb591fd9 (diff)
downloadnixos-personal-31661e73a6ce84a25be1b80ee898fe7fe63b16b6.tar.gz
nixos-personal-31661e73a6ce84a25be1b80ee898fe7fe63b16b6.tar.bz2
nixos-personal-31661e73a6ce84a25be1b80ee898fe7fe63b16b6.zip
nixos: refactor the modules
Diffstat (limited to 'nixos/modules/Rpi.md')
-rw-r--r--nixos/modules/Rpi.md25
1 files changed, 0 insertions, 25 deletions
diff --git a/nixos/modules/Rpi.md b/nixos/modules/Rpi.md
deleted file mode 100644
index 43b172f..0000000
--- a/nixos/modules/Rpi.md
+++ /dev/null
@@ -1,25 +0,0 @@
-# Raspberry Pi SD card preparation steps
-
-```
-~# parted /dev/sdx
-(parted) mktable msdos
-(parted) mkpart primary fat16 0% 120M
-(parted) mkpart primary btrfs 120M 100%
-(parted) set 2 boot on
-(parted) quit
-~# mkfs.vfat -F16 /dev/sdx1
-~# mkfs.btrfs /dev/sdx2
-
-~# mount /dev/sdx1 /mnt
-~# nix build .#firmware-HOST
-~# cp -r result/* /mnt/
-~# umount mnt
-
-~# mount /dev/sdx2 /mnt
-~# nix copy --to /mnt .#toplevel-HOST
-~# nix build --print-out-paths .#toplevel-HOST
-~# nix eval .#nixosConfigurations.HOST.config.boot.loader.generic-extlinux-compatible.populateCmd
-"/nix/store/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA-extlinux-conf-builder.sh -g 20 -t 5"
-~# /nix/store/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA-extlinux-conf-builder.sh -c -d ./mnt/boot
-~# umount mnt
-```