summaryrefslogtreecommitdiffstats
path: root/lass/2configs/ciko.nix
diff options
context:
space:
mode:
authorlassulus <lass@lassul.us>2017-06-20 19:45:35 +0200
committerlassulus <lass@lassul.us>2017-06-20 19:45:35 +0200
commitfb8e8008d46d88d78bb7f20f5ad7ecc5ee4f790e (patch)
tree83c0d44f25479babcb0e9ef6718e56a5f7e0027f /lass/2configs/ciko.nix
parentbfae7775c2b341bc03bcaf985ffb5e7b89eeb26c (diff)
l: add ciko.nix for ciko's mail setup
Diffstat (limited to 'lass/2configs/ciko.nix')
-rw-r--r--lass/2configs/ciko.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/lass/2configs/ciko.nix b/lass/2configs/ciko.nix
new file mode 100644
index 000000000..56c9a286c
--- /dev/null
+++ b/lass/2configs/ciko.nix
@@ -0,0 +1,23 @@
+{ config, pkgs, ... }:
+with import <stockholm/lib>;
+{
+ users.users.ciko = {
+ uid = genid_signed "ciko";
+ description = "acc for ciko";
+ home = "/home/ciko";
+ useDefaultShell = true;
+ createHome = true;
+ openssh.authorizedKeys.keys = [
+ "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDTUWm/fISw/gbuHvf3kwxGEuk1aY5HrNNvr8QXCQv0khDdaYmZSELbtFQtE04WGTWmackNcLpld5mETVyCM0BjOgqMJYQNhtywxfYcodEY5xxHCuGgA3S1t94MZub+DRodXCfB0yUV85Wbb0sltkMTJufMwYmLEGxSLRukxAOcNsXdjlyro96csmYrIiV6R7+REnz8OcR7sKlI4tvKA1mbvWmjbDBd1MZ8Jc0Lwf+b0H/rH69wEQIcB5HRHHJIChoAk0t2azSjXagk1+4AebONZTCKvTHxs/D2wUBIzoxyjmh5S0aso/cKw8qpKcl/A2mZiIvW3KMlJAM5U+RQKMrr"
+ ];
+ };
+ krebs.exim-smarthost = {
+ internet-aliases = [
+ { from = "*@slash16.net"; to = "ciko"; }
+ ];
+ sender_domains = [
+ "slash16.net"
+ ];
+ };
+}
+