[Nix-dev] writing a muttrc configuration file
stewart mackenzie
setori88 at gmail.com
Fri May 29 11:58:57 CEST 2015
Hi,
So I'm trying to write the mutt configuration file using this:
let
muttConfigFile = pkgs.writeTextFile {
name = "muttrc";
text = ''
set spoolfile=/var/spool/mail/root/
'';
executable = false;
destination = "/root/.muttrc";
};
{
environment = {
systemPackages = with pkgs; [
... muttConfigFile ];
};
}
The file is not written to /root/.muttrc, so where does the file go?
So we're trying to do this because mutt doesn't automatically see
/var/spool/mail/root but /var/mail/root. I'd imagine it would see it.
How does one configure Mutt the nix way?
/sjm
More information about the nix-dev
mailing list