All checks were successful
Check flake / build-amd64-linux (push) Successful in 1m19s
43 lines
714 B
Nix
43 lines
714 B
Nix
{
|
|
lib,
|
|
modulesPath,
|
|
...
|
|
}:
|
|
|
|
{
|
|
imports = [
|
|
(modulesPath + "/installer/sd-card/sd-image-aarch64.nix")
|
|
];
|
|
|
|
boot = {
|
|
# Stop ZFS kernel being built
|
|
supportedFilesystems = lib.mkForce [
|
|
"btrfs"
|
|
"cifs"
|
|
"f2fs"
|
|
"jfs"
|
|
"ntfs"
|
|
"reiserfs"
|
|
"vfat"
|
|
"xfs"
|
|
];
|
|
tmp.cleanOnBoot = true;
|
|
};
|
|
|
|
# Fix missing modules
|
|
# https://github.com/NixOS/nixpkgs/issues/154163
|
|
nixpkgs.overlays = [
|
|
(final: prev: {
|
|
makeModulesClosure = x: prev.makeModulesClosure (x // { allowMissing = true; });
|
|
})
|
|
];
|
|
|
|
fileSystems = {
|
|
"/" = {
|
|
device = "/dev/disk/by-label/NIXOS_SD";
|
|
fsType = "ext4";
|
|
options = [ "noatime" ];
|
|
};
|
|
};
|
|
}
|