diff options
author | KJ Ørbekk <kj@orbekk.com> | 2017-05-15 22:51:38 -0400 |
---|---|---|
committer | KJ Ørbekk <kj@orbekk.com> | 2017-05-15 22:51:38 -0400 |
commit | 9f53d13ac583548427669a94b77f17ea701521f7 (patch) | |
tree | a745c3d6f59ac5b99b88d965ad757cbecf2b2831 /config/common.nix | |
parent | 8a7848feeef9088e837ea1295d0986851e27bd34 (diff) |
fix: Tmux not working on containers
Diffstat (limited to 'config/common.nix')
-rw-r--r-- | config/common.nix | 5 |
1 files changed, 5 insertions, 0 deletions
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" ]; + }; + }; } |