about summary refs log tree commit diff
path: root/nixos/modules/system
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-04-30 13:53:12 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-04-30 13:53:12 +0200
commit728d3476baa63c0d2b0a9be9d70db852ea7a2fd9 (patch)
treea72d02012feda134f106239567ca9d12281c06dd /nixos/modules/system
parent9bb209a3bdc6299fae90f372e7cc516c59c1aee5 (diff)
downloadnixlib-728d3476baa63c0d2b0a9be9d70db852ea7a2fd9.tar
nixlib-728d3476baa63c0d2b0a9be9d70db852ea7a2fd9.tar.gz
nixlib-728d3476baa63c0d2b0a9be9d70db852ea7a2fd9.tar.bz2
nixlib-728d3476baa63c0d2b0a9be9d70db852ea7a2fd9.tar.lz
nixlib-728d3476baa63c0d2b0a9be9d70db852ea7a2fd9.tar.xz
nixlib-728d3476baa63c0d2b0a9be9d70db852ea7a2fd9.tar.zst
nixlib-728d3476baa63c0d2b0a9be9d70db852ea7a2fd9.zip
systemd: Require some more kernel features
Diffstat (limited to 'nixos/modules/system')
-rw-r--r--nixos/modules/system/boot/systemd.nix8
1 files changed, 5 insertions, 3 deletions
diff --git a/nixos/modules/system/boot/systemd.nix b/nixos/modules/system/boot/systemd.nix
index 52ba31cdeede..764d7775e98d 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";