hosts/various: enable qemu guest agent, disable smartd for vms by default

This commit is contained in:
h7x4
2026-01-22 16:05:36 +09:00
parent 28baf322ce
commit 5f94345a91
8 changed files with 14 additions and 7 deletions

View File

@@ -1,7 +1,9 @@
{ config, pkgs, lib, ... }:
{
services.smartd = {
enable = lib.mkDefault true;
# NOTE: qemu guests tend not to have SMART-reporting disks. Please override for the
# hosts with disk passthrough.
enable = lib.mkDefault (!config.services.qemuGuest.enable);
notifications = {
mail = {
enable = true;