mail: Pull in simple maileserver module

This commit is contained in:
Alexander Kobjolke 2021-07-16 23:55:13 +02:00
parent e28189085d
commit 6fdb4430fa
2 changed files with 121 additions and 7 deletions

107
flake.lock generated
View file

@ -1,5 +1,36 @@
{ {
"nodes": { "nodes": {
"blobs": {
"flake": false,
"locked": {
"lastModified": 1604995301,
"narHash": "sha256-wcLzgLec6SGJA8fx1OEN1yV/Py5b+U5iyYpksUY/yLw=",
"owner": "simple-nixos-mailserver",
"repo": "blobs",
"rev": "2cccdf1ca48316f2cfd1c9a0017e8de5a7156265",
"type": "gitlab"
},
"original": {
"owner": "simple-nixos-mailserver",
"repo": "blobs",
"type": "gitlab"
}
},
"flake-utils": {
"locked": {
"lastModified": 1623875721,
"narHash": "sha256-A8BU7bjS5GirpAUv4QA+QnJ4CceLHkcXdRp4xITDB0s=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "f7e004a55b120c02ecb6219596820fcd32ca8772",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1625748371, "lastModified": 1625748371,
@ -16,9 +47,83 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs-21_05": {
"locked": {
"lastModified": 1625692408,
"narHash": "sha256-e9L3TLLDVIJpMnHtiNHJE62oOh6emRtSZ244bgYJUZs=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "c06613c25df3fe1dd26243847a3c105cf6770627",
"type": "github"
},
"original": {
"id": "nixpkgs",
"ref": "nixos-21.05",
"type": "indirect"
}
},
"root": { "root": {
"inputs": { "inputs": {
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs",
"snm": "snm",
"utils": "utils_2"
}
},
"snm": {
"inputs": {
"blobs": "blobs",
"nixpkgs": [
"nixpkgs"
],
"nixpkgs-21_05": "nixpkgs-21_05",
"utils": "utils"
},
"locked": {
"lastModified": 1626125282,
"narHash": "sha256-5yQwvYz698KubuIouKP+6qAD8O853ZnC0t7mcPhhGZg=",
"owner": "simple-nixos-mailserver",
"repo": "nixos-mailserver",
"rev": "a37dac9d66b0bbfc28ca64e7efbf4ce55be94143",
"type": "gitlab"
},
"original": {
"owner": "simple-nixos-mailserver",
"repo": "nixos-mailserver",
"type": "gitlab"
}
},
"utils": {
"locked": {
"lastModified": 1605370193,
"narHash": "sha256-YyMTf3URDL/otKdKgtoMChu4vfVL3vCMkRqpGifhUn0=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "5021eac20303a61fafe17224c087f5519baed54d",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"utils_2": {
"inputs": {
"flake-utils": "flake-utils"
},
"locked": {
"lastModified": 1626448459,
"narHash": "sha256-9Uce3aRY4oMPN0trgVWc3S9bWYcvkVtjTf36Idq0pnA=",
"owner": "gytis-ivaskevicius",
"repo": "flake-utils-plus",
"rev": "354653d8211762f5b60d5280281db5bd28fe86c1",
"type": "github"
},
"original": {
"owner": "gytis-ivaskevicius",
"ref": "staging",
"repo": "flake-utils-plus",
"type": "github"
} }
} }
}, },

View file

@ -1,13 +1,22 @@
{ {
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-21.05-small"; inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-21.05-small";
outputs = { self, nixpkgs }: { utils.url = "github:gytis-ivaskevicius/flake-utils-plus/staging";
snm = {
url = "gitlab:simple-nixos-mailserver/nixos-mailserver";
inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-utils.follows = "utils/flake-utils";
};
};
outputs = { self, nixpkgs, ... }@inputs: {
inherit self inputs;
nixosConfigurations."thrall" = nixpkgs.lib.nixosSystem { nixosConfigurations."thrall" = nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
modules = modules = [
[ ./hosts/thrall ]; inputs.snm.nixosModule
./hosts/thrall
];
}; };
}; };
} }