summaryrefslogtreecommitdiff
path: root/hosts/surtr/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/surtr/default.nix')
-rw-r--r--hosts/surtr/default.nix10
1 files changed, 3 insertions, 7 deletions
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 @@
1{ flake, pkgs, lib, ... }: 1{ flake, pkgs, lib, ... }:
2{ 2{
3 imports = with flake.nixosModules.systemProfiles; [ 3 imports = with flake.nixosModules.systemProfiles; [
4 qemu-guest openssh rebuild-machines ./zfs.nix ./dns ./tls.nix 4 qemu-guest openssh rebuild-machines zfs
5 ./zfs.nix ./dns ./tls.nix
5 ]; 6 ];
6 7
7 config = { 8 config = {
@@ -19,15 +20,10 @@
19 device = "/dev/vda"; 20 device = "/dev/vda";
20 }; 21 };
21 22
22 kernelPackages = pkgs.linuxPackages_latest;
23 23
24 tmpOnTmpfs = true; 24 tmpOnTmpfs = true;
25 25
26 supportedFilesystems = [ "zfs" ]; 26 zfs.devNodes = "/dev"; # /dev/vda2 does not show up in /dev/disk/by-id
27 zfs = {
28 enableUnstable = true;
29 devNodes = "/dev"; # /dev/vda2 does not show up in /dev/disk/by-id
30 };
31 27
32 kernelModules = ["ptp_kvm"]; 28 kernelModules = ["ptp_kvm"];
33 }; 29 };