blob: f2f63790e4485ec4834eefc3d43bbf2cf5998ff5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# vim: ts=2
{
description = "Nixos server config";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-22.11-small";
simple-nixos-mailserver = {
url = "gitlab:simple-nixos-mailserver/nixos-mailserver/nixos-22.11";
inputs = {
nixpkgs.follows = "nixpkgs";
};
};
};
outputs = {
self,
nixpkgs,
simple-nixos-mailserver,
...
} @ attrs: {
nixosConfigurations."server1" = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = attrs;
modules = [
./hosts/server1/configuration.nix
simple-nixos-mailserver.nixosModule
{
mailserver = import ./system/mail {};
}
];
};
};
}
|