diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2023-10-04 02:09:38 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2023-10-04 02:11:48 +0200 |
commit | b48bbe83febd6a457fef9b43f270e3bd0191f21b (patch) | |
tree | e9e2c4d00f90473820bc30880ad6b50362f06825 /systems | |
parent | 9ffdbe82759987114353ed01d28126af94ffeea1 (diff) | |
download | Nix-b48bbe83febd6a457fef9b43f270e3bd0191f21b.tar.gz Nix-b48bbe83febd6a457fef9b43f270e3bd0191f21b.tar.zst Nix-b48bbe83febd6a457fef9b43f270e3bd0191f21b.zip |
Rename php forward-ports to ports
Diffstat (limited to 'systems')
-rw-r--r-- | systems/eldiron/base.nix | 6 | ||||
-rw-r--r-- | systems/eldiron/flake.lock | 10 | ||||
-rw-r--r-- | systems/eldiron/flake.nix | 4 | ||||
-rw-r--r-- | systems/monitoring-1/base.nix | 4 | ||||
-rw-r--r-- | systems/monitoring-1/flake.lock | 10 | ||||
-rw-r--r-- | systems/monitoring-1/flake.nix | 4 | ||||
-rw-r--r-- | systems/quatresaisons/flake.lock | 10 | ||||
-rw-r--r-- | systems/quatresaisons/flake.nix | 4 |
8 files changed, 25 insertions, 27 deletions
diff --git a/systems/eldiron/base.nix b/systems/eldiron/base.nix index 1f894a5..24e05fe 100644 --- a/systems/eldiron/base.nix +++ b/systems/eldiron/base.nix | |||
@@ -1,4 +1,4 @@ | |||
1 | { config, pkgs, lib, php, name, secrets, ... }: | 1 | { config, pkgs, lib, ports, name, secrets, ... }: |
2 | { | 2 | { |
3 | # ssh-keyscan eldiron | nix-shell -p ssh-to-age --run ssh-to-age | 3 | # ssh-keyscan eldiron | nix-shell -p ssh-to-age --run ssh-to-age |
4 | secrets.ageKeys = [ "age1dxr5lhvtnjssfaqpnf6qx80h8gfwkxg3tdf35m6n9wljmk7wadfs3kmahj" ]; | 4 | secrets.ageKeys = [ "age1dxr5lhvtnjssfaqpnf6qx80h8gfwkxg3tdf35m6n9wljmk7wadfs3kmahj" ]; |
@@ -28,9 +28,7 @@ | |||
28 | "nodejs-16.20.2" # for landing page building | 28 | "nodejs-16.20.2" # for landing page building |
29 | ]; | 29 | ]; |
30 | 30 | ||
31 | nixpkgs.overlays = [ | 31 | nixpkgs.overlays = builtins.attrValues ports.overlays; |
32 | php.overlays.php | ||
33 | ]; | ||
34 | powerManagement.cpuFreqGovernor = "powersave"; | 32 | powerManagement.cpuFreqGovernor = "powersave"; |
35 | 33 | ||
36 | security.acme.certs."${name}".postRun = builtins.concatStringsSep "\n" [ | 34 | security.acme.certs."${name}".postRun = builtins.concatStringsSep "\n" [ |
diff --git a/systems/eldiron/flake.lock b/systems/eldiron/flake.lock index 99a5c92..6611639 100644 --- a/systems/eldiron/flake.lock +++ b/systems/eldiron/flake.lock | |||
@@ -2141,7 +2141,7 @@ | |||
2141 | "type": "path" | 2141 | "type": "path" |
2142 | } | 2142 | } |
2143 | }, | 2143 | }, |
2144 | "private-php": { | 2144 | "private-ports": { |
2145 | "inputs": { | 2145 | "inputs": { |
2146 | "flake-utils": "flake-utils_11", | 2146 | "flake-utils": "flake-utils_11", |
2147 | "nixpkgs": "nixpkgs_14", | 2147 | "nixpkgs": "nixpkgs_14", |
@@ -2149,12 +2149,12 @@ | |||
2149 | }, | 2149 | }, |
2150 | "locked": { | 2150 | "locked": { |
2151 | "lastModified": 1, | 2151 | "lastModified": 1, |
2152 | "narHash": "sha256-Qs+O86L4sPArYWm7wMCFNKLCWfUwkz8STePsn5K9Xwk=", | 2152 | "narHash": "sha256-MS3rzLJRZ4jW7ASOUUZY1/4jTFfGVkfpedwgnms9c40=", |
2153 | "path": "../../flakes/private/php", | 2153 | "path": "../../flakes/private/ports", |
2154 | "type": "path" | 2154 | "type": "path" |
2155 | }, | 2155 | }, |
2156 | "original": { | 2156 | "original": { |
2157 | "path": "../../flakes/private/php", | 2157 | "path": "../../flakes/private/ports", |
2158 | "type": "path" | 2158 | "type": "path" |
2159 | } | 2159 | } |
2160 | }, | 2160 | }, |
@@ -2496,7 +2496,7 @@ | |||
2496 | "private-openldap": "private-openldap", | 2496 | "private-openldap": "private-openldap", |
2497 | "private-paste": "private-paste", | 2497 | "private-paste": "private-paste", |
2498 | "private-peertube": "private-peertube", | 2498 | "private-peertube": "private-peertube", |
2499 | "private-php": "private-php", | 2499 | "private-ports": "private-ports", |
2500 | "private-ssh": "private-ssh", | 2500 | "private-ssh": "private-ssh", |
2501 | "private-system": "private-system", | 2501 | "private-system": "private-system", |
2502 | "public-copanier": "public-copanier", | 2502 | "public-copanier": "public-copanier", |
diff --git a/systems/eldiron/flake.nix b/systems/eldiron/flake.nix index 790b638..c126d0b 100644 --- a/systems/eldiron/flake.nix +++ b/systems/eldiron/flake.nix | |||
@@ -27,7 +27,7 @@ | |||
27 | 27 | ||
28 | private-peertube.url = "path:../../flakes/private/peertube"; | 28 | private-peertube.url = "path:../../flakes/private/peertube"; |
29 | private-buildbot.url = "path:../../flakes/private/buildbot"; | 29 | private-buildbot.url = "path:../../flakes/private/buildbot"; |
30 | private-php.url = "path:../../flakes/private/php"; | 30 | private-ports.url = "path:../../flakes/private/ports"; |
31 | private-environment.url = "path:../../flakes/private/environment"; | 31 | private-environment.url = "path:../../flakes/private/environment"; |
32 | private-openarc.url = "path:../../flakes/private/openarc"; | 32 | private-openarc.url = "path:../../flakes/private/openarc"; |
33 | private-openldap.url = "path:../../flakes/private/openldap"; | 33 | private-openldap.url = "path:../../flakes/private/openldap"; |
@@ -84,7 +84,7 @@ | |||
84 | openldap = private-openldap; | 84 | openldap = private-openldap; |
85 | monitoring = private-monitoring; | 85 | monitoring = private-monitoring; |
86 | peertube = private-peertube.packages.x86_64-linux; | 86 | peertube = private-peertube.packages.x86_64-linux; |
87 | php = private-php; | 87 | ports = private-ports; |
88 | }; | 88 | }; |
89 | }; | 89 | }; |
90 | } | 90 | } |
diff --git a/systems/monitoring-1/base.nix b/systems/monitoring-1/base.nix index 2d8139e..6784ef8 100644 --- a/systems/monitoring-1/base.nix +++ b/systems/monitoring-1/base.nix | |||
@@ -1,4 +1,4 @@ | |||
1 | { config, pkgs, lib, nixpkgs, php, secrets, ... }: | 1 | { config, pkgs, lib, nixpkgs, ports, secrets, ... }: |
2 | { | 2 | { |
3 | # ssh-keyscan monitoring-1 | nix-shell -p ssh-to-age --run ssh-to-age | 3 | # ssh-keyscan monitoring-1 | nix-shell -p ssh-to-age --run ssh-to-age |
4 | secrets.ageKeys = [ "age1dn4lzhgxusqrpjjnzm7w8ml39ptf326htuzmpqdqs2gg3wq7cqzqxuvx8k" ]; | 4 | secrets.ageKeys = [ "age1dn4lzhgxusqrpjjnzm7w8ml39ptf326htuzmpqdqs2gg3wq7cqzqxuvx8k" ]; |
@@ -13,7 +13,7 @@ | |||
13 | ./status_engine.nix | 13 | ./status_engine.nix |
14 | ]; | 14 | ]; |
15 | 15 | ||
16 | nixpkgs.overlays = builtins.attrValues php.overlays; | 16 | nixpkgs.overlays = builtins.attrValues ports.overlays; |
17 | nixpkgs.config.permittedInsecurePackages = [ | 17 | nixpkgs.config.permittedInsecurePackages = [ |
18 | "python-2.7.18.6" # for nagios-cli | 18 | "python-2.7.18.6" # for nagios-cli |
19 | ]; | 19 | ]; |
diff --git a/systems/monitoring-1/flake.lock b/systems/monitoring-1/flake.lock index d4a2c8d..84d51bc 100644 --- a/systems/monitoring-1/flake.lock +++ b/systems/monitoring-1/flake.lock | |||
@@ -628,7 +628,7 @@ | |||
628 | "type": "github" | 628 | "type": "github" |
629 | } | 629 | } |
630 | }, | 630 | }, |
631 | "php": { | 631 | "ports": { |
632 | "inputs": { | 632 | "inputs": { |
633 | "flake-utils": "flake-utils_2", | 633 | "flake-utils": "flake-utils_2", |
634 | "nixpkgs": "nixpkgs_6", | 634 | "nixpkgs": "nixpkgs_6", |
@@ -636,12 +636,12 @@ | |||
636 | }, | 636 | }, |
637 | "locked": { | 637 | "locked": { |
638 | "lastModified": 1, | 638 | "lastModified": 1, |
639 | "narHash": "sha256-Qs+O86L4sPArYWm7wMCFNKLCWfUwkz8STePsn5K9Xwk=", | 639 | "narHash": "sha256-MS3rzLJRZ4jW7ASOUUZY1/4jTFfGVkfpedwgnms9c40=", |
640 | "path": "../../flakes/private/php", | 640 | "path": "../../flakes/private/ports", |
641 | "type": "path" | 641 | "type": "path" |
642 | }, | 642 | }, |
643 | "original": { | 643 | "original": { |
644 | "path": "../../flakes/private/php", | 644 | "path": "../../flakes/private/ports", |
645 | "type": "path" | 645 | "type": "path" |
646 | } | 646 | } |
647 | }, | 647 | }, |
@@ -656,7 +656,7 @@ | |||
656 | "my-lib": "my-lib", | 656 | "my-lib": "my-lib", |
657 | "myuids": "myuids", | 657 | "myuids": "myuids", |
658 | "nixpkgs": "nixpkgs_5", | 658 | "nixpkgs": "nixpkgs_5", |
659 | "php": "php", | 659 | "ports": "ports", |
660 | "secrets": "secrets_3", | 660 | "secrets": "secrets_3", |
661 | "system": "system" | 661 | "system": "system" |
662 | } | 662 | } |
diff --git a/systems/monitoring-1/flake.nix b/systems/monitoring-1/flake.nix index e97cb05..1833053 100644 --- a/systems/monitoring-1/flake.nix +++ b/systems/monitoring-1/flake.nix | |||
@@ -9,7 +9,7 @@ | |||
9 | chatons.url = "path:../../flakes/private/chatons"; | 9 | chatons.url = "path:../../flakes/private/chatons"; |
10 | environment.url = "path:../../flakes/private/environment"; | 10 | environment.url = "path:../../flakes/private/environment"; |
11 | system.url = "path:../../flakes/private/system"; | 11 | system.url = "path:../../flakes/private/system"; |
12 | php.url = "path:../../flakes/private/php"; | 12 | ports.url = "path:../../flakes/private/ports"; |
13 | 13 | ||
14 | myuids.url = "path:../../flakes/myuids"; | 14 | myuids.url = "path:../../flakes/myuids"; |
15 | secrets.url = "path:../../flakes/secrets"; | 15 | secrets.url = "path:../../flakes/secrets"; |
@@ -39,7 +39,7 @@ | |||
39 | moduleArgs = { | 39 | moduleArgs = { |
40 | nixpkgs = inputs.nixpkgs; | 40 | nixpkgs = inputs.nixpkgs; |
41 | monitoring = inputs.monitoring; | 41 | monitoring = inputs.monitoring; |
42 | php = inputs.php; | 42 | ports = inputs.ports; |
43 | }; | 43 | }; |
44 | }; | 44 | }; |
45 | } | 45 | } |
diff --git a/systems/quatresaisons/flake.lock b/systems/quatresaisons/flake.lock index 6f2ccca..15c4f56 100644 --- a/systems/quatresaisons/flake.lock +++ b/systems/quatresaisons/flake.lock | |||
@@ -618,7 +618,7 @@ | |||
618 | "type": "github" | 618 | "type": "github" |
619 | } | 619 | } |
620 | }, | 620 | }, |
621 | "php": { | 621 | "ports": { |
622 | "inputs": { | 622 | "inputs": { |
623 | "flake-utils": "flake-utils_2", | 623 | "flake-utils": "flake-utils_2", |
624 | "nixpkgs": "nixpkgs_6", | 624 | "nixpkgs": "nixpkgs_6", |
@@ -626,12 +626,12 @@ | |||
626 | }, | 626 | }, |
627 | "locked": { | 627 | "locked": { |
628 | "lastModified": 1, | 628 | "lastModified": 1, |
629 | "narHash": "sha256-Qs+O86L4sPArYWm7wMCFNKLCWfUwkz8STePsn5K9Xwk=", | 629 | "narHash": "sha256-MS3rzLJRZ4jW7ASOUUZY1/4jTFfGVkfpedwgnms9c40=", |
630 | "path": "../../flakes/private/php", | 630 | "path": "../../flakes/private/ports", |
631 | "type": "path" | 631 | "type": "path" |
632 | }, | 632 | }, |
633 | "original": { | 633 | "original": { |
634 | "path": "../../flakes/private/php", | 634 | "path": "../../flakes/private/ports", |
635 | "type": "path" | 635 | "type": "path" |
636 | } | 636 | } |
637 | }, | 637 | }, |
@@ -645,7 +645,7 @@ | |||
645 | "my-lib": "my-lib", | 645 | "my-lib": "my-lib", |
646 | "myuids": "myuids_2", | 646 | "myuids": "myuids_2", |
647 | "nixpkgs": "nixpkgs_5", | 647 | "nixpkgs": "nixpkgs_5", |
648 | "php": "php", | 648 | "ports": "ports", |
649 | "secrets": "secrets_2", | 649 | "secrets": "secrets_2", |
650 | "system": "system" | 650 | "system": "system" |
651 | } | 651 | } |
diff --git a/systems/quatresaisons/flake.nix b/systems/quatresaisons/flake.nix index 8b269f6..a0e8ff7 100644 --- a/systems/quatresaisons/flake.nix +++ b/systems/quatresaisons/flake.nix | |||
@@ -6,7 +6,7 @@ | |||
6 | 6 | ||
7 | monitoring.url = "path:../../flakes/private/monitoring"; | 7 | monitoring.url = "path:../../flakes/private/monitoring"; |
8 | environment.url = "path:../../flakes/private/environment"; | 8 | environment.url = "path:../../flakes/private/environment"; |
9 | php.url = "path:../../flakes/private/php"; | 9 | ports.url = "path:../../flakes/private/ports"; |
10 | system.url = "path:../../flakes/private/system"; | 10 | system.url = "path:../../flakes/private/system"; |
11 | 11 | ||
12 | myuids.url = "path:../../flakes/myuids"; | 12 | myuids.url = "path:../../flakes/myuids"; |
@@ -41,7 +41,7 @@ | |||
41 | }; | 41 | }; |
42 | moduleArgs = { | 42 | moduleArgs = { |
43 | monitoring = inputs.monitoring; | 43 | monitoring = inputs.monitoring; |
44 | php = inputs.php; | 44 | ports = inputs.ports; |
45 | landing-page = inputs.landing-page; | 45 | landing-page = inputs.landing-page; |
46 | pkgs-no-overlay = inputs.nixpkgs.legacyPackages.x86_64-linux; | 46 | pkgs-no-overlay = inputs.nixpkgs.legacyPackages.x86_64-linux; |
47 | }; | 47 | }; |