Import des overlays dans la definition des services

This commit is contained in:
nyanloutre 2018-09-20 12:30:06 +02:00
parent 5f9a4d3f26
commit b0f115a1dd
4 changed files with 12 additions and 3 deletions

View File

@ -24,6 +24,10 @@ in
config = mkIf cfg.enable { config = mkIf cfg.enable {
nixpkgs.overlays = [
(import ../overlays/site-max.nix)
];
services.haproxy-acme.services = { services.haproxy-acme.services = {
${cfg.domaine} = { ip = "127.0.0.1"; port = cfg.port; auth = false; }; ${cfg.domaine} = { ip = "127.0.0.1"; port = cfg.port; auth = false; };
}; };

View File

@ -24,6 +24,10 @@ in
config = mkIf cfg.enable { config = mkIf cfg.enable {
nixpkgs.overlays = [
(import ../overlays/site-musique.nix)
];
services.haproxy-acme.services = { services.haproxy-acme.services = {
${cfg.domaine} = { ip = "127.0.0.1"; port = cfg.port; auth = false; }; ${cfg.domaine} = { ip = "127.0.0.1"; port = cfg.port; auth = false; };
}; };

View File

@ -35,9 +35,6 @@
nixpkgs.overlays = [ nixpkgs.overlays = [
(import ../../overlays/riot-web.nix) (import ../../overlays/riot-web.nix)
(import ../../overlays/site-max.nix)
(import ../../overlays/site-musique.nix)
(import ../../overlays/dogetipbot-telegram.nix)
(import ../../overlays/unstable_pkgs.nix) (import ../../overlays/unstable_pkgs.nix)
]; ];

View File

@ -22,6 +22,10 @@ in
../../containers/vsftpd.nix ../../containers/vsftpd.nix
]; ];
nixpkgs.overlays = [
(import ../../overlays/dogetipbot-telegram.nix)
];
services = { services = {
fail2ban.enable = true; fail2ban.enable = true;