Giter Club home page Giter Club logo

nixos-rpi's Introduction

nixos-rpi

This repo contains nix derivation which builds Nixos for RaspberryPi 1 (the very first RPI). An SD card image is a result of build. The main purpose of this image is to serve as a print server. Overall project can be used to build Nixos images with arbitrary functionality, limited only by RPI HW.

flake

Currently flake exposes only a single output - SD image ("./#sd-card").

Makefile

Makefile contains usefull scripts. Which allow to build SD image and write it to SD card. REVIEW Makefile before using it!

Password

Password hash for default user ("pi") is in file "password.nix". Default password is "raspberry". New default password can be generated manually or by deleting "password.nix" and running "make". See Makefile for details.

configuration-network.nix

This file is supposed to contain network configuration. Since configuration is user-specific, it may contain sensitive data (for example, passwords) or additional network interfaces (USB WIFI dongles), it is empty by default.

cfg

This directoy contains sample printing configuration and systemd daemon which copies it to CUPS after reboot. Once SD image is built for the first time, it is required to boot it once and then reboot for default CUPS printing config to be applied.

overlay.nix

Some packages cannot be build by default, overlay.nix contains fixes for them.

nixos-rpi's People

Contributors

hrttf111 avatar

Watchers

 avatar

Forkers

dramaturg

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.