From fb8e8008d46d88d78bb7f20f5ad7ecc5ee4f790e Mon Sep 17 00:00:00 2001 From: lassulus Date: Tue, 20 Jun 2017 19:45:35 +0200 Subject: l: add ciko.nix for ciko's mail setup --- lass/1systems/prism.nix | 1 + lass/2configs/ciko.nix | 23 +++++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 lass/2configs/ciko.nix diff --git a/lass/1systems/prism.nix b/lass/1systems/prism.nix index 02054a8e5..6bb1df222 100644 --- a/lass/1systems/prism.nix +++ b/lass/1systems/prism.nix @@ -46,6 +46,7 @@ in { ../2configs/paste.nix ../2configs/syncthing.nix ../2configs/coders-irc.nix + ../2configs/ciko.nix { imports = [ ../2configs/bepasty.nix 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 ; +{ + 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" + ]; + }; +} + -- cgit v1.2.3