diff options
author | makefu <github@syntax-fehler.de> | 2015-12-13 14:35:30 +0100 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2015-12-13 14:35:30 +0100 |
commit | 96248285fcc64e62fcaa4f2030e440737567550d (patch) | |
tree | f1477485b0a38c8338977eac8a65f7abfc45f83b /2configs | |
parent | 3892cf99144e1bd33834839ecbc8174009044769 (diff) |
m 2 default: use timesyncd instead of ntpd
Diffstat (limited to '2configs')
-rw-r--r-- | 2configs/default.nix | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/2configs/default.nix b/2configs/default.nix index 760c70789..519635281 100644 --- a/2configs/default.nix +++ b/2configs/default.nix @@ -80,7 +80,14 @@ with lib; "d /tmp 1777 root root - -" ]; - environment.variables.EDITOR = mkForce "vim"; + environment.variables = { + NIX_PATH = with config.krebs.build.source; with dir; with git; + mkForce (concatStringsSep ":" [ + "nixpkgs=${nixpkgs.target-path}" + "${nixpkgs.target-path}" + ]); + EDITOR = mkForce "vim"; + }; environment.systemPackages = with pkgs; [ jq @@ -124,6 +131,14 @@ with lib; services.cron.enable = false; services.nscd.enable = false; + services.ntp.enable = false; + services.timesyncd.enable = true; + services.ntp.servers = [ + "pool.ntp.org" + "time.windows.com" + "time.apple.com" + "time.nist.gov" + ]; security.setuidPrograms = [ "sendmail" ]; services.journald.extraConfig = '' |