nixos-servers/machines/pikvm.nix

29 lines
602 B
Nix
Raw Normal View History

2024-09-07 10:39:30 +00:00
{
machines.pikvm = {
arch = "aarch64-linux";
isRaspberryPi = true;
2024-10-28 13:12:06 +00:00
nixosModule = {
config,
inputs,
lib,
...
}: {
2024-09-07 10:39:30 +00:00
# imports = [ "${inputs.nixpkgs}/nixos/modules/installer/sd-card/sd-image-aarch64.nix" ];
lab = {
storage.profile = "pi";
};
environment.systemPackages = with inputs.nixpkgs.legacyPackages.aarch64-linux; [
(mplayer.override {
v4lSupport = true;
})
ffmpeg
v4l-utils
];
2024-10-28 13:12:06 +00:00
boot.extraModulePackages = with config.boot.kernelPackages; [v4l2loopback];
2024-09-07 10:39:30 +00:00
};
};
}