From 728d3476baa63c0d2b0a9be9d70db852ea7a2fd9 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 30 Apr 2014 13:53:12 +0200 Subject: [PATCH] systemd: Require some more kernel features --- nixos/modules/system/boot/systemd.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/nixos/modules/system/boot/systemd.nix b/nixos/modules/system/boot/systemd.nix index 52ba31cdeed..764d7775e98 100644 --- a/nixos/modules/system/boot/systemd.nix +++ b/nixos/modules/system/boot/systemd.nix @@ -767,9 +767,11 @@ in systemd.user.units = mapAttrs' (n: v: nameValuePair "${n}.service" (serviceToUnit n v)) cfg.user.services; - system.requiredKernelConfig = map config.lib.kernelConfig.isEnabled [ - "CGROUPS" "AUTOFS4_FS" "DEVTMPFS" - ]; + system.requiredKernelConfig = map config.lib.kernelConfig.isEnabled + [ "DEVTMPFS" "CGROUPS" "INOTIFY_USER" "SIGNALFD" "TIMERFD" "EPOLL" "NET" + "SYSFS" "PROC_FS" "FHANDLE" "DMIID" "AUTOFS4_FS" "TMPFS_POSIX_ACL" + "TMPFS_XATTR" "SECCOMP" + ]; environment.shellAliases = { start = "systemctl start";