Import des overlays dans la definition des services
This commit is contained in:
parent
5f9a4d3f26
commit
b0f115a1dd
@ -24,6 +24,10 @@ in
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
|
||||
nixpkgs.overlays = [
|
||||
(import ../overlays/site-max.nix)
|
||||
];
|
||||
|
||||
services.haproxy-acme.services = {
|
||||
${cfg.domaine} = { ip = "127.0.0.1"; port = cfg.port; auth = false; };
|
||||
};
|
||||
|
@ -24,6 +24,10 @@ in
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
|
||||
nixpkgs.overlays = [
|
||||
(import ../overlays/site-musique.nix)
|
||||
];
|
||||
|
||||
services.haproxy-acme.services = {
|
||||
${cfg.domaine} = { ip = "127.0.0.1"; port = cfg.port; auth = false; };
|
||||
};
|
||||
|
@ -35,9 +35,6 @@
|
||||
|
||||
nixpkgs.overlays = [
|
||||
(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)
|
||||
];
|
||||
|
||||
|
@ -22,6 +22,10 @@ in
|
||||
../../containers/vsftpd.nix
|
||||
];
|
||||
|
||||
nixpkgs.overlays = [
|
||||
(import ../../overlays/dogetipbot-telegram.nix)
|
||||
];
|
||||
|
||||
services = {
|
||||
|
||||
fail2ban.enable = true;
|
||||
|
Loading…
Reference in New Issue
Block a user