mail.idimitrov.dev/flake.nix

36 lines
827 B
Nix
Raw Normal View History

2023-09-19 14:22:42 +02:00
{
inputs = {
nixpkgs.url = "nixpkgs";
simple-nixos-mailserver = {
url = "gitlab:simple-nixos-mailserver/nixos-mailserver";
inputs.nixpkgs.follows = "nixpkgs";
};
2023-09-20 12:38:25 +02:00
vpsadminos.url = "github:vpsfreecz/vpsadminos";
2023-09-20 13:14:25 +02:00
webshite = {
url = "github:ivandimitrov8080/idimitrov.dev";
inputs.nixpkgs.follows = "nixpkgs";
};
2023-09-19 14:22:42 +02:00
};
outputs =
{ self
, nixpkgs
, simple-nixos-mailserver
2023-09-20 12:38:25 +02:00
, vpsadminos
2023-09-20 13:14:25 +02:00
, webshite
2023-09-19 14:22:42 +02:00
, ...
}: {
nixosConfigurations = {
mailserver = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
simple-nixos-mailserver.nixosModule
2023-09-20 12:38:25 +02:00
vpsadminos.nixosConfigurations.container
2023-09-20 13:14:25 +02:00
webshite.nixosModules.default
2023-09-19 14:22:42 +02:00
./mailserver
];
};
};
};
}