Remove options already populated by nixos-facter

Remove pikvm machine
This commit is contained in:
Pim Kunis 2024-11-04 21:34:04 +01:00
parent 806e6c1d03
commit 4d7e81fd63
3 changed files with 0 additions and 50 deletions

View file

@ -1,28 +0,0 @@
{
machines.pikvm = {
arch = "aarch64-linux";
isRaspberryPi = true;
nixosModule = {
config,
inputs,
lib,
...
}: {
# 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
];
boot.extraModulePackages = with config.boot.kernelPackages; [v4l2loopback];
};
};
}

View file

@ -26,8 +26,6 @@
config = {
time.timeZone = "Europe/Amsterdam";
hardware.cpu.intel.updateMicrocode = lib.mkIf (! machine.isRaspberryPi) config.hardware.enableRedistributableFirmware;
nixpkgs = {
config.allowUnfree = true;
overlays = [
@ -110,24 +108,6 @@
];
boot = lib.mkIf (! machine.isRaspberryPi) {
kernelModules = ["kvm-intel"];
extraModulePackages = [];
kernel.sysctl."fs.inotify.max_user_instances" = 256;
initrd = {
kernelModules = [];
availableKernelModules = [
"ahci"
"xhci_pci"
"nvme"
"usbhid"
"usb_storage"
"sd_mod"
"sdhci_pci"
];
};
loader = {
systemd-boot.enable = lib.mkDefault true;
efi.canTouchEfiVariables = true;

View file

@ -14,8 +14,6 @@
machines;
in {
nixosConfigurations = mkNixosSystems (name: machine: {
system = machine.arch;
specialArgs = {inherit self inputs machine machines;};
modules = [