diff options
-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 |