summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cd.nix15
-rw-r--r--modules/exim-cd.nix3
2 files changed, 17 insertions, 1 deletions
diff --git a/cd.nix b/cd.nix
index b105fbb..70c8a85 100644
--- a/cd.nix
+++ b/cd.nix
@@ -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 b28f394..a4c47b3 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