From 6eaced35820f4c575dd545fb721abd74f248c8cb Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 28 Apr 2014 08:16:27 +0200 Subject: [PATCH] Don't mount /sys/fs/fuse/connections and /sys/kernel/config MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit These fail to mount if you don't have the appropriate kernel support, and this confuses NixOps' ‘check’ command. We should teach NixOps not to complain about non-essential mount points, but in the meantime it's better to turn them off. --- nixos/modules/system/boot/systemd.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/modules/system/boot/systemd.nix b/nixos/modules/system/boot/systemd.nix index 52ba31cdeede..9a0f48fe1701 100644 --- a/nixos/modules/system/boot/systemd.nix +++ b/nixos/modules/system/boot/systemd.nix @@ -103,8 +103,8 @@ let "dev-hugepages.mount" "dev-mqueue.mount" "proc-sys-fs-binfmt_misc.mount" - "sys-fs-fuse-connections.mount" - "sys-kernel-config.mount" + #"sys-fs-fuse-connections.mount" + #"sys-kernel-config.mount" "sys-kernel-debug.mount" # Maintaining state across reboots.