diff options
author | lassulus <lass@aidsballs.de> | 2016-10-20 21:10:59 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2016-10-22 17:50:57 +0200 |
commit | 41e6300dbc650814e88de40ad9be292e3cea4de1 (patch) | |
tree | e4ac8c383ddf058f27ec00703f868d8b4fd0cf58 /lass/1systems | |
parent | 08b18c3c551c55228ef9e059b09b3cdf88413273 (diff) |
l 1 shodan: add sokratess user
Diffstat (limited to 'lass/1systems')
-rw-r--r-- | lass/1systems/shodan.nix | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/lass/1systems/shodan.nix b/lass/1systems/shodan.nix index 5140591af..7c44807a6 100644 --- a/lass/1systems/shodan.nix +++ b/lass/1systems/shodan.nix @@ -22,6 +22,26 @@ with builtins; # }; # }; #} + { + users.users.sokratess = { + uid = genid "sokratess"; + home = "/home/sokratess"; + group = "users"; + createHome = true; + extraGroups = [ + "audio" + "networkmanager" + ]; + useDefaultShell = true; + password = "aidsballs"; + }; + krebs.per-user.sokratess.packages = [ + pkgs.firefox + pkgs.python27Packages.virtualenv + pkgs.python27Packages.ipython + pkgs.python27Packages.python + ]; + } ]; krebs.build.host = config.krebs.hosts.shodan; |