]> Git — Sourcephile - sourcephile-nix.git/blob - servers/mermet.nix
nix: fix install and security.pass
[sourcephile-nix.git] / servers / mermet.nix
1 # NixOS configuration of mermet.sourcephile.fr
2 #
3 # Show configuration options with, for example:
4 # nix-instantiate servers/mermet.nix --eval -A config.networking.hostName
5 # or:
6 # nix eval servers.mermet.config.networking.hostName
7 # Install/upgrade with:
8 # nix run install -f servers/mermet.nix
9 # or:
10 # nix run servers.mermet.install
11 let
12 ipv4 = "80.67.180.129";
13 system = import <nixpkgs/nixos/lib/eval-config.nix> {
14 system = "x86_64-linux";
15 modules = [
16 ../nixos/defaults.nix
17 ../nixos/profiles/services/unbound.nix
18 mermet/acme.nix
19 mermet/debug.nix
20 mermet/dovecot.nix
21 mermet/fileSystems.nix
22 mermet/gitolite.nix
23 mermet/hardware.nix
24 mermet/knot.nix
25 #mermet/mlmmj.nix
26 mermet/networking.nix
27 mermet/nginx.nix
28 mermet/openldap.nix
29 mermet/postfix.nix
30 mermet/public-inbox.nix
31 mermet/redis.nix
32 mermet/rspamd.nix
33 mermet/sanoid.nix
34 mermet/shorewall.nix
35 mermet/system.nix
36 mermet/users.nix
37 ];
38 extraArgs = {
39 name = "mermet";
40 inherit ipv4;
41 servers = import ../servers.nix;
42 };
43 };
44 in system // {
45 inherit ipv4;
46 install = system.config.install.shellScript;
47 }