Compare commits
No commits in common. "72d0802b67696909f387980a099805686d843de7" and "a630b1a58c342aab3819e5ec387e9124d9738f6b" have entirely different histories.
72d0802b67
...
a630b1a58c
@ -52,15 +52,6 @@ in
|
|||||||
enableManageSieve = true;
|
enableManageSieve = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
services.postfix = {
|
|
||||||
relayHost = "mailvps.nyanlout.re";
|
|
||||||
relayPort = 587;
|
|
||||||
config = {
|
|
||||||
smtp_tls_cert_file = lib.mkForce "/var/lib/postfix/postfixrelay.crt";
|
|
||||||
smtp_tls_key_file = lib.mkForce "/var/lib/postfix/postfixrelay.key";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
security.acme.certs = {
|
security.acme.certs = {
|
||||||
"${cfg.domaine}" = {
|
"${cfg.domaine}" = {
|
||||||
extraDomains = {
|
extraDomains = {
|
||||||
|
@ -12,14 +12,6 @@ in
|
|||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
|
|
||||||
users.users = {
|
|
||||||
python-ci = {
|
|
||||||
isSystemUser = true;
|
|
||||||
group = "nogroup";
|
|
||||||
description = "Python CI user";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
systemd.services.python-ci = {
|
systemd.services.python-ci = {
|
||||||
description = "CI Nix en Python";
|
description = "CI Nix en Python";
|
||||||
requires = ["network-online.target"];
|
requires = ["network-online.target"];
|
||||||
@ -27,7 +19,7 @@ in
|
|||||||
environment = { HOME = "/var/lib/python-ci"; NIX_PATH = concatStringsSep ":" config.nix.nixPath; NIXPKGS_ALLOW_UNFREE = "1";};
|
environment = { HOME = "/var/lib/python-ci"; NIX_PATH = concatStringsSep ":" config.nix.nixPath; NIXPKGS_ALLOW_UNFREE = "1";};
|
||||||
path = with pkgs;[ nix gnutar gzip ];
|
path = with pkgs;[ nix gnutar gzip ];
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
User = "python-ci";
|
DynamicUser = true;
|
||||||
StateDirectory = "python-ci";
|
StateDirectory = "python-ci";
|
||||||
RuntimeDirectory = "python-ci";
|
RuntimeDirectory = "python-ci";
|
||||||
RuntimeDirectoryPreserve = "yes";
|
RuntimeDirectoryPreserve = "yes";
|
||||||
|
Loading…
Reference in New Issue
Block a user