summaryrefslogtreecommitdiffstats
path: root/lass/1systems/prism/config.nix
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2019-01-22 16:27:56 +0100
committerlassulus <lassulus@lassul.us>2019-01-22 16:27:56 +0100
commitc893dbd47960335402a9727c879f6f92c104aaf4 (patch)
tree7d37312c73b7a9f513e607acd107bdcc2c534650 /lass/1systems/prism/config.nix
parentb3587bfbfa74c5581987e0dd965189d51d96bcce (diff)
l prism.r: add Mic92 to trustedUsers
Diffstat (limited to 'lass/1systems/prism/config.nix')
-rw-r--r--lass/1systems/prism/config.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/lass/1systems/prism/config.nix b/lass/1systems/prism/config.nix
index b4a514d54..23746d210 100644
--- a/lass/1systems/prism/config.nix
+++ b/lass/1systems/prism/config.nix
@@ -421,6 +421,16 @@ with import <stockholm/lib>;
{ predicate = "-i wiregrill -p udp --dport 4000:4002"; target = "ACCEPT"; }
];
}
+ {
+ nix.trustedUsers = [ "Mic92" ];
+ users.users.Mic92 = {
+ uid = genid_uint31 "Mic92";
+ isNormalUser = true;
+ openssh.authorizedKeys.keys = [
+ config.krebs.users.Mic92.pubkey
+ ];
+ };
+ }
];
krebs.build.host = config.krebs.hosts.prism;