add scrutiny to shadowfax

This commit is contained in:
Joseph Hanson 2024-09-07 05:40:58 -05:00
parent cbfd905378
commit f12517b1a1
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o
2 changed files with 18 additions and 0 deletions

View file

@ -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"
]

View file

@ -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;