diff --git a/nixos/hosts/shadowfax/config/disks.nix b/nixos/hosts/shadowfax/config/disks.nix new file mode 100644 index 0000000..e643744 --- /dev/null +++ b/nixos/hosts/shadowfax/config/disks.nix @@ -0,0 +1,7 @@ +[ + "nvme-Samsung_SSD_970_EVO_Plus_500GB_S58SNM0W406409E" + "nvme-SOLIDIGM_SSDPFKNU020TZ_PHEH314200DT2P0C" + "nvme-SOLIDIGM_SSDPFKNU020TZ_PHEH3142017H2P0C" + "nvme-SOLIDIGM_SSDPFKNU020TZ_PHEH314201AD2P0C" + "nvme-SOLIDIGM_SSDPFKNU020TZ_PHEH314201E72P0C" +] diff --git a/nixos/hosts/shadowfax/default.nix b/nixos/hosts/shadowfax/default.nix index d96961a..092b80b 100644 --- a/nixos/hosts/shadowfax/default.nix +++ b/nixos/hosts/shadowfax/default.nix @@ -4,6 +4,8 @@ { config, lib, inputs, ... }: let sanoidConfig = import ./config/sanoid.nix { }; + disks = import ./config/disks.nix; + smartdDevices = map (device: { inherit device; }) disks; in { imports = @@ -117,6 +119,15 @@ in podman.enable = true; libvirt-qemu.enable = true; + # Scrutiny + scrutiny = { + enable = true; + devices = disks; + extraCapabilities = [ "SYS_RAWIO" ]; + containerVolumeLocation = "/nahar/containers/volumes/scrutiny"; + port = 8585; + }; + # Sanoid sanoid = { enable = true;