Commit 8a0837e762b8

Vincent Demeester <vincent@sbr.pm>
2018-10-11 18:06:31
users: add subuid/subgid to user (usernamespaces!)
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 5ed6ef0
Changed files (1)
profiles
profiles/users.nix
@@ -12,6 +12,8 @@
         initialPassword = "changeMe";
         openssh.authorizedKeys.keys =
           with import ../assets/ssh-keys.nix; [ honshu wakasu hokkaido california shikoku ];
+          subUidRanges = [{ startUid = 100000; count = 65536; }];
+          subGidRanges = [{ startGid = 100000; count = 65536; }];
       };
     };
   };