22 lines
444 B
Nix
22 lines
444 B
Nix
|
|
# TODO: replace with the output of:
|
||
|
|
# sudo nixos-generate-config --show-hardware-config
|
||
|
|
# run on the Pi after initial boot into the NixOS installer.
|
||
|
|
{ ... }:
|
||
|
|
{
|
||
|
|
fileSystems."/" = {
|
||
|
|
device = "/dev/disk/by-label/nixos";
|
||
|
|
fsType = "ext4";
|
||
|
|
};
|
||
|
|
|
||
|
|
fileSystems."/boot/firmware" = {
|
||
|
|
device = "/dev/disk/by-label/NIXOS_BOOT";
|
||
|
|
fsType = "vfat";
|
||
|
|
options = [
|
||
|
|
"fmask=0077"
|
||
|
|
"dmask=0077"
|
||
|
|
];
|
||
|
|
};
|
||
|
|
|
||
|
|
swapDevices = [ ];
|
||
|
|
}
|