diff options
Diffstat (limited to 'hosts/surtr')
-rw-r--r-- | hosts/surtr/default.nix | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/hosts/surtr/default.nix b/hosts/surtr/default.nix index 34304b44..2d56f6e3 100644 --- a/hosts/surtr/default.nix +++ b/hosts/surtr/default.nix | |||
@@ -28,6 +28,8 @@ | |||
28 | enableUnstable = true; | 28 | enableUnstable = true; |
29 | devNodes = "/dev"; # /dev/vda2 does not show up in /dev/disk/by-id | 29 | devNodes = "/dev"; # /dev/vda2 does not show up in /dev/disk/by-id |
30 | }; | 30 | }; |
31 | |||
32 | kernelModules = ["ptp_kvm"]; | ||
31 | }; | 33 | }; |
32 | 34 | ||
33 | fileSystems = { | 35 | fileSystems = { |
@@ -79,6 +81,15 @@ | |||
79 | DNS = [ "46.38.225.230" "46.38.252.230" "2a03:4000:0:1::e1e6" "2a03:4000:8000::fce6" ]; | 81 | DNS = [ "46.38.225.230" "46.38.252.230" "2a03:4000:0:1::e1e6" "2a03:4000:8000::fce6" ]; |
80 | }; | 82 | }; |
81 | 83 | ||
84 | services.timesyncd.enable = false; | ||
85 | services.chrony = { | ||
86 | enable = true; | ||
87 | servers = []; | ||
88 | extraConfig = '' | ||
89 | refclock PHC /dev/ptp_kvm poll 3 dpoll -2 offset 0 | ||
90 | ''; | ||
91 | }; | ||
92 | |||
82 | services.openssh = { | 93 | services.openssh = { |
83 | enable = true; | 94 | enable = true; |
84 | passwordAuthentication = false; | 95 | passwordAuthentication = false; |