{ lib, pkgs, mylib, myvars, disko, ... }: let # MoreFine - S500Plus hostName = "shoryu"; # Define your hostname. coreModule = mylib.genVmHostModule { inherit pkgs hostName; inherit (myvars) networking; }; in { imports = (mylib.scanPaths ./.) ++ [ disko.nixosModules.default ../k8s/disko-config/host-disko-fs.nix ./hardware-configuration.nix ./preservation.nix coreModule ]; modules.btrbk.enable = true; modules.security.audit.enable = true; # MoreFine S500Plus: Radeon iGPU. The ROCm build of btop shows the GPU panel; # node_exporter's drm collector exposes its utilization/VRAM. modules.btop.package = pkgs.btop-rocm; services.prometheus.exporters.node.enabledCollectors = [ "drm" ]; }