l: add ciko.nix for ciko's mail setup

This commit is contained in:
lassulus 2017-06-20 19:45:35 +02:00
parent bfae7775c2
commit fb8e8008d4
2 changed files with 24 additions and 0 deletions

View File

@ -46,6 +46,7 @@ in {
../2configs/paste.nix
../2configs/syncthing.nix
../2configs/coders-irc.nix
../2configs/ciko.nix
{
imports = [
../2configs/bepasty.nix

23
lass/2configs/ciko.nix Normal file
View File

@ -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"
];
};
}