nix-config/hosts/skycam/hardware-configuration.nix
Jordan Holt 15d9a39349
Some checks failed
Check flake / build-amd64-linux (push) Failing after 2m33s
Add skycam host
2024-08-03 20:11:11 +01:00

29 lines
525 B
Nix

{ config, lib, modulesPath, ... }:
{
imports = [
(modulesPath + "/installer/sd-card/sd-image-aarch64.nix")
];
boot = {
supportedFilesystems = lib.mkForce [ "f2fs" "vfat xfs" ];
tmp.cleanOnBoot = true;
};
nixpkgs.overlays = [
(final: super: {
makeModulesClosure = x:
super.makeModulesClosure (x // { allowMissing = true; });
})
];
fileSystems = {
"/" = {
device = "/dev/disk/by-label/NIXOS_SD";
fsType = "ext4";
options = [ "noatime" ];
};
};
}