init: mailserver
This commit is contained in:
parent
49df755c44
commit
7f1e38c11d
3 changed files with 136 additions and 1 deletions
|
|
@ -2,11 +2,16 @@
|
|||
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
inputs.home.url = "git+https://git.sondell.org/glennwso/home.git";
|
||||
inputs.home.inputs.nixpkgs.follows = "nixpkgs";
|
||||
inputs.nixos-mailserver = {
|
||||
url = "gitlab:simple-nixos-mailserver/nixos-mailserver";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, home }@attrs:
|
||||
outputs = { self, nixpkgs, home, nixos-mailserver}@attrs:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
homepage = home.packages.${system}.default;
|
||||
mailserver = nixos-mailserver.nixosModules.default;
|
||||
in
|
||||
{
|
||||
# replace 'joes-desktop' with your hostname here.
|
||||
|
|
@ -25,6 +30,7 @@
|
|||
./tail.nix
|
||||
./matrix.nix
|
||||
./coturn.nix
|
||||
(import ./mail.nix {inherit mailserver;})
|
||||
(import ./homepage.nix {inherit homepage;})
|
||||
];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue