nix-config/hosts/server9/hardware-configuration.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

91 lines
2.3 KiB
Nix
Raw Permalink Normal View History

2022-06-18 01:07:43 +02:00
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
2022-12-04 08:53:28 +01:00
{ config, lib, modulesPath, ... }:
2022-06-18 01:07:43 +02:00
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "uhci_hcd" "ehci_pci" "ahci" "megaraid_sas" "usb_storage" "usbhid" "sd_mod" "sr_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
2022-06-21 12:23:59 +02:00
boot.supportedFilesystems = [ "zfs" ];
2022-06-18 01:07:43 +02:00
fileSystems."/" =
{ device = "/dev/disk/by-uuid/58fdc536-9949-4921-bd9c-c05cdc8fb9ad";
fsType = "ext4";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/E4C9-03A7";
fsType = "vfat";
};
fileSystems."/tank" =
{ device = "tank";
fsType = "zfs";
options = [ "zfsutil" "nofail" ];
};
fileSystems."/tank/poelzi" =
{ device = "tank/poelzi";
fsType = "zfs";
options = [ "zfsutil" "nofail" ];
};
fileSystems."/tank/storage" =
{ device = "tank/storage";
fsType = "zfs";
options = [ "zfsutil" "nofail" ];
};
fileSystems."/tank/backup_vms_ceph_migration" =
{ device = "tank/backup_vms_ceph_migration";
fsType = "zfs";
options = [ "zfsutil" "nofail" ];
};
fileSystems."/tank/dump-dvb-iq-storage" =
{ device = "tank/dump-dvb-iq-storage";
fsType = "zfs";
options = [ "zfsutil" "nofail" ];
};
2023-12-25 21:00:01 +01:00
fileSystems."/tank/erisbert" =
{ device = "tank/erisbert";
fsType = "zfs";
options = [ "zfsutil" "nofail" ];
2023-12-25 21:00:01 +01:00
};
fileSystems."/tank/shits-and-giggles" =
{ device = "tank/shits-and-giggles";
fsType = "zfs";
options = [ "zfsutil" "nofail" ];
2023-12-25 21:00:01 +01:00
};
fileSystems."/tank/storage/ftp" =
{ device = "tank/storage/ftp";
fsType = "zfs";
options = [ "zfsutil" "nofail" ];
};
2023-12-25 21:00:01 +01:00
fileSystems."/tank/storage/sshlog" =
{ device = "tank/storage/sshlog";
fsType = "zfs";
options = [ "zfsutil" "nofail" ];
2023-12-25 21:00:01 +01:00
};
fileSystems."/tank/storage/stream" =
{ device = "tank/storage/stream";
fsType = "zfs";
options = [ "zfsutil" "nofail" ];
};
2022-06-18 01:07:43 +02:00
swapDevices = [ ];
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}