From 23a142fc075b39d9d60e9ca79129d44c6f94d606 Mon Sep 17 00:00:00 2001 From: Kjetil Orbekk Date: Sat, 20 May 2017 15:43:56 -0400 Subject: generic-container: Update --- config/common.nix | 5 ----- config/container.nix | 5 +++++ 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'config') diff --git a/config/common.nix b/config/common.nix index 238ec41..20bd4dd 100644 --- a/config/common.nix +++ b/config/common.nix @@ -47,9 +47,4 @@ }; boot.cleanTmpDir = true; - boot.specialFileSystems = lib.optionalAttrs (config.boot.isContainer) { - "/dev/pts" = { - options = lib.mkAfter [ "ptmxmode=666" ]; - }; - }; } diff --git a/config/container.nix b/config/container.nix index 4cf3c17..20bf1d9 100644 --- a/config/container.nix +++ b/config/container.nix @@ -11,4 +11,9 @@ mkdir -p /sbin/init ln -fs $systemConfig/init /sbin/init ''; + boot.specialFileSystems = { + "/dev/pts" = { + options = lib.mkAfter [ "ptmxmode=666" ]; + }; + }; } -- cgit v1.2.3