host cd: add user "mv"

This commit is contained in:
tv 2015-03-24 18:31:39 +01:00
parent 8cded0bb8a
commit bca15281f9
2 changed files with 17 additions and 1 deletions

15
cd.nix
View File

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

View File

@ -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