diff options
author | tv <tv@shackspace.de> | 2015-03-24 18:31:39 +0100 |
---|---|---|
committer | tv <tv@shackspace.de> | 2015-05-19 23:14:32 +0200 |
commit | bca15281f911b2e41eb7189cad706ed9698cac43 (patch) | |
tree | 15de1f367ccab686d03986ac4379b92d323d387c | |
parent | 8cded0bb8a5fe0a5b47452490334b7306aa5413f (diff) |
host cd: add user "mv"
-rw-r--r-- | cd.nix | 15 | ||||
-rw-r--r-- | modules/exim-cd.nix | 3 |
2 files changed, 17 insertions, 1 deletions
@@ -20,6 +20,7 @@ htop iftop iotop + mutt # for mv nethogs rxvt_unicode.terminfo tcpdump @@ -95,7 +96,21 @@ "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDDYv5OkVrnerkzJwgi7ol7HzcWJf4oWCJTX84trFX5vgJXu1zMvSe+koY8xpnMOd7WHF2wgsjjrFlMuixTrfMPc/OjvG2N1TlnvzlFD8ivTW/AJzDwNxT//niqAYAZ9kmb8e/zE/SyNHSKZcyEKGiiW2+YW9wWHPYRP/XiNEjLP3BeTGScMwWr001V/8m7ne4SGHrE1FbHbHqaBXgqUFgnvzMY3CsfDafODZlj5xSMNGHyLGNNKvu3YR1crcAjbQrBXBdwaArThFxp+e2uWrnffshlks6WtRyR1AFVjc/gxEG74Axq1AHY6EJm2Fw/JdFNiYQ7yyQZHS9bZJYjgnWF tv@nomic" ]; }; + + mv = rec { + name = "mv"; + uid = 1338; + group = "users"; + home = "/home/${name}"; + createHome = true; + useDefaultShell = true; + openssh.authorizedKeys.keys = [ + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGer9e2+Lew7vnisgBbsFNECEIkpNJgEaqQqgb9inWkQ mv@vod" + ]; + }; + }; + users.mutableUsers = false; } diff --git a/modules/exim-cd.nix b/modules/exim-cd.nix index b28f39437..a4c47b399 100644 --- a/modules/exim-cd.nix +++ b/modules/exim-cd.nix @@ -41,6 +41,7 @@ in { from = "noc"; to = "root"; } { from = "security"; to = "root"; } { from = "root"; to = "tv"; } + { from = "mirko"; to = "mv"; } ]; to-lsearch = concatMapStringsSep "\n" ({ from, to }: "${from}: ${to}"); @@ -276,7 +277,7 @@ in driver = appendfile maildir_format maildir_use_size_file - directory = $home/Maildir + directory = $home/Mail directory_mode = 0700 delivery_date_add envelope_to_add |