mailserver
This commit is contained in:
parent
3093730d54
commit
f69c86da78
12
flake.nix
12
flake.nix
@ -1,7 +1,7 @@
|
||||
{
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
peertube.url = "git+https://git.immae.eu/perso/Immae/Config/Nix.git?dir=flakes/peertube&rev=ded643e14096a7cb166c78dd961cf68fb4ddb0cf";
|
||||
simple-nixos-mailserver.url = "gitlab:simple-nixos-mailserver/nixos-mailserver/master";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, peertube }: {
|
||||
@ -13,10 +13,7 @@
|
||||
};
|
||||
"mitty" = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
./machines/mitty/configuration.nix
|
||||
peertube.nixosModule
|
||||
];
|
||||
modules = [ ./machines/mitty/configuration.nix ];
|
||||
};
|
||||
"nanachi" = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
@ -28,7 +25,10 @@
|
||||
};
|
||||
"neetdev" = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = [ ./machines/neet.dev/configuration.nix ];
|
||||
modules = [
|
||||
./machines/neet.dev/configuration.nix
|
||||
simple-nixos-mailserver.nixosModule
|
||||
];
|
||||
};
|
||||
"s0" = nixpkgs.lib.nixosSystem {
|
||||
system = "aarch64-linux";
|
||||
|
@ -51,4 +51,21 @@
|
||||
port = 23563;
|
||||
domain = "voice.neet.space";
|
||||
};
|
||||
|
||||
mailserver = {
|
||||
enable = true;
|
||||
fqdn = "mail.neet.dev";
|
||||
domains = [ "neet.space" "neet.dev" "neet.cloud" ];
|
||||
loginAccounts = {
|
||||
"jeremy@neet.dev" = {
|
||||
# nix run nixpkgs.apacheHttpd -c htpasswd -nbB "" "super secret password" | cut -d: -f2 > /hashed/password/file/location
|
||||
hashedPasswordFile = "/secret/email.password";
|
||||
aliases = [
|
||||
"zuckerberg@neet.space"
|
||||
"zuckerberg@neet.cloud"
|
||||
"zuckerberg@neet.dev"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user