summaryrefslogtreecommitdiffstats
path: root/lass/1systems/shodan.nix
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2016-10-20 21:10:59 +0200
committerlassulus <lass@aidsballs.de>2016-10-20 21:10:59 +0200
commit51a9fb2dccf6996e1f4fe6f795076ebc6bc71d25 (patch)
tree00f8707a42ea8a2aac2cd5b813042d76b7c0258c /lass/1systems/shodan.nix
parent0398342657a9548b9ada4524335b3ca864fd9c2e (diff)
l 1 shodan: add sokratess user
Diffstat (limited to 'lass/1systems/shodan.nix')
-rw-r--r--lass/1systems/shodan.nix20
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;