Add skycam host
All checks were successful
Check flake / build-amd64-linux (push) Successful in 2m37s
All checks were successful
Check flake / build-amd64-linux (push) Successful in 2m37s
This commit is contained in:
33
hosts/skycam/hardware-configuration.nix
Normal file
33
hosts/skycam/hardware-configuration.nix
Normal file
@ -0,0 +1,33 @@
|
||||
{ config, lib, modulesPath, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
(modulesPath + "/installer/sd-card/sd-image-aarch64.nix")
|
||||
];
|
||||
|
||||
boot = {
|
||||
kernelModules = [ "bcm2835-v4l2" ];
|
||||
loader.raspberryPi.firmwareConfig = ''
|
||||
start_x=1
|
||||
gpu_mem=256
|
||||
'';
|
||||
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" ];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user