NixOS on ARM: Difference between revisions
imported>Dezgeg No edit summary |
imported>Dezgeg Update Raspi-related things |
||
| Line 75: | Line 75: | ||
=== Raspberry Pi (1) === | === Raspberry Pi (1) === | ||
The ARMv6 image boots out-of-the-box | The ARMv6 image boots out-of-the-box. | ||
=== Raspberry Pi 2 === | |||
The ARMv7 image should boot out-of-the-box, though the author hasn't personally tested this. | |||
== NixOS installation & configuration == | == NixOS installation & configuration == | ||
| Line 95: | Line 99: | ||
boot.kernelPackages = pkgs.linuxPackages_latest; | boot.kernelPackages = pkgs.linuxPackages_latest; | ||
nix.binaryCaches = lib.mkForce [ "http://nixos-arm.dezgeg.me/channel" ]; | nix.binaryCaches = lib.mkForce [ "http://nixos-arm.dezgeg.me/channel" ]; | ||
nix.binaryCachePublicKeys = [ "nixos-arm.dezgeg.me-1:xBaUKS3n17BZPKeyxL4JfbTqECsT+ysbDJz29kLFRW0=%" ]; | nix.binaryCachePublicKeys = [ "nixos-arm.dezgeg.me-1:xBaUKS3n17BZPKeyxL4JfbTqECsT+ysbDJz29kLFRW0=%" ]; | ||
| Line 134: | Line 135: | ||
=== pcDuino 3 Nano === | === pcDuino 3 Nano === | ||
USB keyboards and HDMI displays work perfectly | USB keyboards and HDMI displays work perfectly. Also a 3.3v serial port via the 3-pin header works. | ||
=== Raspberry Pi ( | === Raspberry Pi (all versions) === | ||
HDMI | USB keyboards and HDMI displays work perfectly. | ||
Using the 3.3v serial port via the | Using the 3.3v serial port via the pin headers (exact location depends on hardware version) should also work. | ||
== Porting NixOS to new boards == | == Porting NixOS to new boards == | ||