dotfiles/config/nix/pindakaas.nix
Geoffrey Frogeye 86f225ea67
nix: Remove ability to build pindakaas SD image
The idea to create an image burnable on a SD card that is already
configured is a nice one, however I encountered many issues:

- Used something that was designed to be an installer:
    - Cannot change from unencrypted ext4 partition (AFAICS)
    - Comes with installer tools (i.e. tools for various filesystems),
      which creates conflicts
- Takes a lot of space and time to build, had to put /tmp on a non-tmpfs
- Has to extend the filesystem manually afterwards
- I think it rebuilt the full system on nixos-rebuilt anyways. Maybe
  because I used binfmt compilation? Could also be because installer has
  some overlays.

Since I had nix on Manjaro already, I surely could have built the
system directly on the SD card from there. Maybe that's what I will do
to test the partitionning/boot scheme setup actually.
2023-11-23 13:42:52 +01:00

16 lines
442 B
Nix

{ pkgs, config, ... }:
{
imports = [
<nixos-hardware/pine64/pinebook-pro>
./os/loader.nix
];
# nixos-hardware use latest kernel by default. This obviously runs quickly out of sync with zfs packages.
boot.kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages;
networking.hostName = "pindakaas";
frogeye.extra = false; # FIXME Not working yet
frogeye.desktop.xorg = true;
frogeye.dev.docker = true;
}