mirror of
https://git.pvv.ntnu.no/Drift/pvv-nixos-config.git
synced 2024-12-04 19:40:07 +01:00
8 lines
192 B
Nix
8 lines
192 B
Nix
{ config, pkgs, lib, ... }:
|
|
{
|
|
services.smartd.enable = lib.mkDefault true;
|
|
|
|
environment.systemPackages = lib.optionals config.services.smartd.enable (with pkgs; [
|
|
smartmontools
|
|
]);
|
|
} |