diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2022-01-12 21:46:24 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2022-01-12 21:46:43 +0100 |
commit | d75d0895fa329a265a296e37390e4fba8a312d7d (patch) | |
tree | d5225195c1973a224ac7715c6a5bdb5c8855e9bc /hosts/surtr/default.nix | |
parent | 42b25e8ef134f39433ba1693b62bc29f0c572ad1 (diff) | |
download | nixos-d75d0895fa329a265a296e37390e4fba8a312d7d.tar nixos-d75d0895fa329a265a296e37390e4fba8a312d7d.tar.gz nixos-d75d0895fa329a265a296e37390e4fba8a312d7d.tar.bz2 nixos-d75d0895fa329a265a296e37390e4fba8a312d7d.tar.xz nixos-d75d0895fa329a265a296e37390e4fba8a312d7d.zip |
...
Diffstat (limited to 'hosts/surtr/default.nix')
-rw-r--r-- | hosts/surtr/default.nix | 10 |
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 | }; |