NixOS on ARM/Raspberry Pi 4: Difference between revisions

imported>Samueldr
m Add minimal configuration sample
imported>Samueldr
Line 49: Line 49:
Using <code>nixos-generate-config</code> will not generate the required minimal configuration.
Using <code>nixos-generate-config</code> will not generate the required minimal configuration.


=== GPU support ===
The following configuration samples are built on the assumption that they are added to an already working configuration. They are not complete configurations.


{{file|/etc/nixos/configuration.nix|nix|<nowiki>
{{file|/etc/nixos/configuration.nix|nix|<nowiki>
Line 83: Line 80:
}
}
</nowiki>}}
</nowiki>}}
=== GPU support ===
The following configuration samples are built on the assumption that they are added to an already working configuration. They are not complete configurations.
==== Without GPU ====
==== Without GPU ====
{{file|/etc/nixos/configuration.nix|nix|<nowiki>
{{file|/etc/nixos/configuration.nix|nix|<nowiki>
Line 136: Line 138:
   '';
   '';
</nowiki>}}
</nowiki>}}
== Troubleshooting ==
== Troubleshooting ==