Skip to content
Discussion options

You must be logged in to vote

Finally, and after another round of woes and issues, I cracked it!

Basically, I got bitten by a missing hosts,... declaration in den.aspects.mailserver = {host, ...}: {, leaving the mailserver = { silently not being evaluated... Well, I learned it the hard way. But anyway, I'll leave it here as someone else's future reference. Nice thing is, it also uses sops-nix

{inputs, ...}: {
  den.aspects.mailserver = {host, ...}: {
    nixos = {config, ...}: {
      imports = [inputs.simple-nixos-mailserver.nixosModule];
      mailserver = {
        enable = true;
        stateVersion = 3;
        # debug = true;

        fqdn = "mail.example.com";
        domains = ["example.com"];

        loginAc…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by xdbr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help!
Labels
None yet
1 participant