diff options
Diffstat (limited to 'configuration.nix')
-rw-r--r-- | configuration.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/configuration.nix b/configuration.nix index 8b5db09..7f99894 100644 --- a/configuration.nix +++ b/configuration.nix @@ -16,6 +16,9 @@ # Use the systemd-boot EFI boot loader. boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; + nixpkgs.config.packageOverrides = pkgs: { + zfsStable = pkgs.zfsStable.override { enableMail = true; }; + }; boot.supportedFilesystems = ["zfs"]; boot.zfs.forceImportRoot = false; boot.zfs.extraPools = ["pool"]; @@ -253,6 +256,12 @@ test = true; }; }; + services.zfs.zed.enableMail = true; + services.zfs.zed.settings = { + ZED_EMAIL_ADDR = [ "root" ]; + ZED_NOTIFY_VERBOSE = true; + ZED_EMAIL_PROG = "${pkgs.msmtp}/bin/msmtp"; + }; users.groups.git.members = [ "git" |