From f4c01fc004dfb10d5d2a3988d7ddb199a0aa11e8 Mon Sep 17 00:00:00 2001 From: Gabriel Ebner Date: Sun, 6 Dec 2015 14:30:18 +0100 Subject: [PATCH] systemd: enable timedated, hostnamed, localed. --- nixos/modules/system/boot/systemd.nix | 6 ++++++ pkgs/os-specific/linux/systemd/default.nix | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/nixos/modules/system/boot/systemd.nix b/nixos/modules/system/boot/systemd.nix index d145baeebe93..826368e711ad 100644 --- a/nixos/modules/system/boot/systemd.nix +++ b/nixos/modules/system/boot/systemd.nix @@ -148,6 +148,12 @@ let # Misc. "systemd-sysctl.service" + "dbus-org.freedesktop.timedate1.service" + "dbus-org.freedesktop.locale1.service" + "dbus-org.freedesktop.hostname1.service" + "systemd-timedated.service" + "systemd-localed.service" + "systemd-hostnamed.service" ] ++ cfg.additionalUpstreamSystemUnits; diff --git a/pkgs/os-specific/linux/systemd/default.nix b/pkgs/os-specific/linux/systemd/default.nix index a78f51ddb36f..234c60a37f27 100644 --- a/pkgs/os-specific/linux/systemd/default.nix +++ b/pkgs/os-specific/linux/systemd/default.nix @@ -48,13 +48,13 @@ stdenv.mkDerivation rec { "--enable-compat-libs" # get rid of this eventually "--disable-tests" - "--disable-hostnamed" + "--enable-hostnamed" "--enable-networkd" "--disable-sysusers" - "--disable-timedated" + "--enable-timedated" "--enable-timesyncd" "--disable-firstboot" - "--disable-localed" + "--enable-localed" "--enable-resolved" "--disable-split-usr" "--disable-libcurl"