From 9f53d13ac583548427669a94b77f17ea701521f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?KJ=20=C3=98rbekk?= Date: Mon, 15 May 2017 22:51:38 -0400 Subject: fix: Tmux not working on containers --- config/common.nix | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'config') diff --git a/config/common.nix b/config/common.nix index 548e252..21c3769 100644 --- a/config/common.nix +++ b/config/common.nix @@ -34,4 +34,9 @@ }; boot.cleanTmpDir = true; + boot.specialFileSystems = lib.optionalAttrs (config.boot.isContainer) { + "/dev/pts" = { + options = lib.mkAfter [ "ptmxmode=666" ]; + }; + }; } -- cgit v1.2.3