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
_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to