From d75d0895fa329a265a296e37390e4fba8a312d7d Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 12 Jan 2022 21:46:24 +0100 Subject: ... --- hosts/surtr/default.nix | 10 +++------- hosts/surtr/tls.nix | 2 +- 2 files changed, 4 insertions(+), 8 deletions(-) (limited to 'hosts/surtr') diff --git a/hosts/surtr/default.nix b/hosts/surtr/default.nix index da8b82f7..8554d112 100644 --- a/hosts/surtr/default.nix +++ b/hosts/surtr/default.nix @@ -1,7 +1,8 @@ { flake, pkgs, lib, ... }: { imports = with flake.nixosModules.systemProfiles; [ - qemu-guest openssh rebuild-machines ./zfs.nix ./dns ./tls.nix + qemu-guest openssh rebuild-machines zfs + ./zfs.nix ./dns ./tls.nix ]; config = { @@ -19,15 +20,10 @@ device = "/dev/vda"; }; - kernelPackages = pkgs.linuxPackages_latest; tmpOnTmpfs = true; - supportedFilesystems = [ "zfs" ]; - zfs = { - enableUnstable = true; - devNodes = "/dev"; # /dev/vda2 does not show up in /dev/disk/by-id - }; + zfs.devNodes = "/dev"; # /dev/vda2 does not show up in /dev/disk/by-id kernelModules = ["ptp_kvm"]; }; diff --git a/hosts/surtr/tls.nix b/hosts/surtr/tls.nix index e05cbdd9..6a1d6f84 100644 --- a/hosts/surtr/tls.nix +++ b/hosts/surtr/tls.nix @@ -56,7 +56,7 @@ in { security.acme = { acceptTerms = true; preliminarySelfsigned = true; # DNS challenge is slow - email = "phikeebaogobaegh@141.li"; + defaults.email = "phikeebaogobaegh@141.li"; certs = let domainAttrset = domain: { -- cgit v1.2.3