8000 GitHub - jpraczyk/rock64-nix: NixOS install image for rock64
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

jpraczyk/rock64-nix

 
 

Repository files navigation

NixOS on Rock64

This project is a fairly straightforward port of ayufan's rock64 project to NixOS.

Status

Weekend hobby project. Works for me.

Building

nix-build release.nix -A sdImage

Installation

Dump image to SD card. Insert into rock64. Boot.

The image includes UBoot with "Generic Distro Configuration" support.

Post installation configuration

Use the standard nixos-generate-config command to generate the hardware and filesystem configuration file. In the main configuration file (configuration.nix), include the two modules from this repository's modules/ directory, which adds in the kernel package, and some sensible defaults. In you main configuration.nix, specify your desired kernel. For example:

{ config, lib, pkgs, ... }:
{
  include = [
    ./rock64-nix/modules/rock64-configuration.nix
    ./rock64-nix/modules/packages.nix
  ];

  boot.kernelPackages = pkgs.rock64.linuxPackages_ayufan_4_4;
}

About

NixOS install image for rock64

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Nix 97.0%
  • Shell 3.0%
0