Format nix files using new formatter

This commit is contained in:
2024-11-19 14:18:32 +01:00
parent 4661b91508
commit 7820c4a07d
10 changed files with 180 additions and 88 deletions

View File

@@ -1,4 +1,9 @@
{ config, lib, pkgs, ... }:
{
config,
lib,
pkgs,
...
}:
with pkgs;
@@ -6,13 +11,14 @@ let
sender = "akasroua@disroot.org";
recipient = "akasroua+smart@disroot.org";
in {
in
{
# Notify when a disk starts going haywire
services.smartd = {
enable = true;
defaults.monitored = "-H -f -t -C 197 -U 198 -d nvme";
autodetect = false;
devices = [{ device = "/dev/nvme0"; }];
devices = [ { device = "/dev/nvme0"; } ];
notifications.mail = {
enable = true;
sender = sender;