diff options
author | lassulus <lass@lassul.us> | 2017-01-10 17:27:07 +0100 |
---|---|---|
committer | lassulus <lass@lassul.us> | 2017-01-10 17:27:07 +0100 |
commit | 92e989f69ba14400dc059edd5819a751b19e99da (patch) | |
tree | 54cd4743d8cf5e65c739a178801db492ac72bd11 /lass/2configs/baseX.nix | |
parent | 5631dc07e776c7fb9efe822e70aafe1aab716a59 (diff) |
l 2: add sshuttle config
Diffstat (limited to 'lass/2configs/baseX.nix')
-rw-r--r-- | lass/2configs/baseX.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lass/2configs/baseX.nix b/lass/2configs/baseX.nix index 1e796015a..a67c25145 100644 --- a/lass/2configs/baseX.nix +++ b/lass/2configs/baseX.nix @@ -13,6 +13,14 @@ in { systemWide = true; }; } + { + krebs.per-user.lass.packages = [ + pkgs.sshuttle + ]; + security.sudo.extraConfig = '' + lass ALL= (root) NOPASSWD:SETENV: ${pkgs.sshuttle}/bin/.sshuttle-wrapped + ''; + } ]; users.extraUsers.mainUser.extraGroups = [ "audio" "video" ]; |