NixOS on ARM/Raspberry Pi: Difference between revisions

imported>Bkchr
Adds how to for camera
imported>Samueldr
m Camera: re-words note to remove newlines + use {{pull}}
Line 91: Line 91:
For the camera to work, you will need to add the following code to your configuration.nix:  
For the camera to work, you will need to add the following code to your configuration.nix:  


{{note| These two pull requests are required to make this configuration.nix and the camera working:
{{note| Two pull requests ({{pull|38490}} and {{pull|38342}}) are required to make this configuration.nix and the camera working.}}
[https://github.com/NixOS/nixpkgs/pull/38490 #38490]
[https://github.com/NixOS/nixpkgs/pull/38342 #38342]}}
{{file|/etc/nixos/configuration.nix|nix|<nowiki>
{{file|/etc/nixos/configuration.nix|nix|<nowiki>
{ config, pkgs, lib, ... }:
{ config, pkgs, lib, ... }:
Line 109: Line 107:
}
}
</nowiki>}}
</nowiki>}}
== Binary Cache ==
== Binary Cache ==