diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2024-12-30 16:32:34 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2025-03-14 01:02:11 +0100 |
commit | 00114be488abfb32a803a5ca8c2530e6fbb66103 (patch) | |
tree | 4287fe330fbdd6884138ce2ea8ecc2c59c9bf8f4 /flakes | |
parent | f5426be2f5340cfe103a8cf0153821dffe7c55d4 (diff) | |
download | Nix-00114be488abfb32a803a5ca8c2530e6fbb66103.tar.gz Nix-00114be488abfb32a803a5ca8c2530e6fbb66103.tar.zst Nix-00114be488abfb32a803a5ca8c2530e6fbb66103.zip |
Add monitoring plugins as readonly
Diffstat (limited to 'flakes')
-rw-r--r-- | flakes/flake.lock | 22 | ||||
-rw-r--r-- | flakes/private/monitoring/flake.nix | 6 |
2 files changed, 17 insertions, 11 deletions
diff --git a/flakes/flake.lock b/flakes/flake.lock index 12d0510..608afb3 100644 --- a/flakes/flake.lock +++ b/flakes/flake.lock | |||
@@ -2879,7 +2879,7 @@ | |||
2879 | }, | 2879 | }, |
2880 | "locked": { | 2880 | "locked": { |
2881 | "lastModified": 1, | 2881 | "lastModified": 1, |
2882 | "narHash": "sha256-oxC3qdbcxH1yz9btJ3s2NeK3pgnrhEjU/q5o3PiZCb8=", | 2882 | "narHash": "sha256-JoRDMcdd3yCwmMTcntzqPOEKRuubert3/1S1hLHIwbg=", |
2883 | "path": "../../flakes/private/monitoring", | 2883 | "path": "../../flakes/private/monitoring", |
2884 | "type": "path" | 2884 | "type": "path" |
2885 | }, | 2885 | }, |
@@ -2897,7 +2897,7 @@ | |||
2897 | }, | 2897 | }, |
2898 | "locked": { | 2898 | "locked": { |
2899 | "lastModified": 1, | 2899 | "lastModified": 1, |
2900 | "narHash": "sha256-oxC3qdbcxH1yz9btJ3s2NeK3pgnrhEjU/q5o3PiZCb8=", | 2900 | "narHash": "sha256-JoRDMcdd3yCwmMTcntzqPOEKRuubert3/1S1hLHIwbg=", |
2901 | "path": "../../flakes/private/monitoring", | 2901 | "path": "../../flakes/private/monitoring", |
2902 | "type": "path" | 2902 | "type": "path" |
2903 | }, | 2903 | }, |
@@ -2915,7 +2915,7 @@ | |||
2915 | }, | 2915 | }, |
2916 | "locked": { | 2916 | "locked": { |
2917 | "lastModified": 1, | 2917 | "lastModified": 1, |
2918 | "narHash": "sha256-oxC3qdbcxH1yz9btJ3s2NeK3pgnrhEjU/q5o3PiZCb8=", | 2918 | "narHash": "sha256-JoRDMcdd3yCwmMTcntzqPOEKRuubert3/1S1hLHIwbg=", |
2919 | "path": "../../flakes/private/monitoring", | 2919 | "path": "../../flakes/private/monitoring", |
2920 | "type": "path" | 2920 | "type": "path" |
2921 | }, | 2921 | }, |
@@ -2933,7 +2933,7 @@ | |||
2933 | }, | 2933 | }, |
2934 | "locked": { | 2934 | "locked": { |
2935 | "lastModified": 1, | 2935 | "lastModified": 1, |
2936 | "narHash": "sha256-oxC3qdbcxH1yz9btJ3s2NeK3pgnrhEjU/q5o3PiZCb8=", | 2936 | "narHash": "sha256-JoRDMcdd3yCwmMTcntzqPOEKRuubert3/1S1hLHIwbg=", |
2937 | "path": "../../flakes/private/monitoring", | 2937 | "path": "../../flakes/private/monitoring", |
2938 | "type": "path" | 2938 | "type": "path" |
2939 | }, | 2939 | }, |
@@ -3818,7 +3818,7 @@ | |||
3818 | }, | 3818 | }, |
3819 | "locked": { | 3819 | "locked": { |
3820 | "lastModified": 1, | 3820 | "lastModified": 1, |
3821 | "narHash": "sha256-GNHwRwTqVRC8ttNh5Lb2RiMjlF5Rw7/u8qDZkoP+PwI=", | 3821 | "narHash": "sha256-dcGCP4uE6vafVgQ65G5W8iSBYvfCZSJnyH5jD3b2fr0=", |
3822 | "path": "../systems/backup-2", | 3822 | "path": "../systems/backup-2", |
3823 | "type": "path" | 3823 | "type": "path" |
3824 | }, | 3824 | }, |
@@ -3841,7 +3841,7 @@ | |||
3841 | }, | 3841 | }, |
3842 | "locked": { | 3842 | "locked": { |
3843 | "lastModified": 1, | 3843 | "lastModified": 1, |
3844 | "narHash": "sha256-+IArMn3FNkYA5InXvjitcctBWm8uLXyOXz599lAxvuE=", | 3844 | "narHash": "sha256-2NsoEf/geroWa/Ja3KXjWJ/fwtu4oPIHghKTbePvcUM=", |
3845 | "path": "../systems/dilion", | 3845 | "path": "../systems/dilion", |
3846 | "type": "path" | 3846 | "type": "path" |
3847 | }, | 3847 | }, |
@@ -3890,7 +3890,7 @@ | |||
3890 | }, | 3890 | }, |
3891 | "locked": { | 3891 | "locked": { |
3892 | "lastModified": 1, | 3892 | "lastModified": 1, |
3893 | "narHash": "sha256-hhGcRz254PsDiGRW8WKENI7ebpv9z/lXCdQ5Cmmn7Oo=", | 3893 | "narHash": "sha256-US3fAs5ui/Qh/sx9tUKt7ft/uoZMGPUMjIB5B+AahZ0=", |
3894 | "path": "../systems/eldiron", | 3894 | "path": "../systems/eldiron", |
3895 | "type": "path" | 3895 | "type": "path" |
3896 | }, | 3896 | }, |
@@ -3916,7 +3916,7 @@ | |||
3916 | }, | 3916 | }, |
3917 | "locked": { | 3917 | "locked": { |
3918 | "lastModified": 1, | 3918 | "lastModified": 1, |
3919 | "narHash": "sha256-sQVmPaJ6juG3Dx4ZY54iDrw3rsej3QzVCoJwZH+g1NQ=", | 3919 | "narHash": "sha256-VJIMYLlvdSRrH+7fNxxblLTu44rvTLmP6YfeGg0/D4g=", |
3920 | "path": "../systems/monitoring-1", | 3920 | "path": "../systems/monitoring-1", |
3921 | "type": "path" | 3921 | "type": "path" |
3922 | }, | 3922 | }, |
@@ -3941,7 +3941,7 @@ | |||
3941 | }, | 3941 | }, |
3942 | "locked": { | 3942 | "locked": { |
3943 | "lastModified": 1, | 3943 | "lastModified": 1, |
3944 | "narHash": "sha256-xQSQbl/TSxKGoRixIeHEypd/ssk0+BR+Tjc4GiFOaj8=", | 3944 | "narHash": "sha256-KLvAqCYrbObYWyUnUzMHUKo0FIt5DO/g7AuAbGrYaYs=", |
3945 | "path": "../systems/quatresaisons", | 3945 | "path": "../systems/quatresaisons", |
3946 | "type": "path" | 3946 | "type": "path" |
3947 | }, | 3947 | }, |
@@ -7483,7 +7483,7 @@ | |||
7483 | }, | 7483 | }, |
7484 | "locked": { | 7484 | "locked": { |
7485 | "lastModified": 1, | 7485 | "lastModified": 1, |
7486 | "narHash": "sha256-oxC3qdbcxH1yz9btJ3s2NeK3pgnrhEjU/q5o3PiZCb8=", | 7486 | "narHash": "sha256-JoRDMcdd3yCwmMTcntzqPOEKRuubert3/1S1hLHIwbg=", |
7487 | "path": "../../flakes/private/monitoring", | 7487 | "path": "../../flakes/private/monitoring", |
7488 | "type": "path" | 7488 | "type": "path" |
7489 | }, | 7489 | }, |
@@ -8410,7 +8410,7 @@ | |||
8410 | }, | 8410 | }, |
8411 | "locked": { | 8411 | "locked": { |
8412 | "lastModified": 1, | 8412 | "lastModified": 1, |
8413 | "narHash": "sha256-oxC3qdbcxH1yz9btJ3s2NeK3pgnrhEjU/q5o3PiZCb8=", | 8413 | "narHash": "sha256-JoRDMcdd3yCwmMTcntzqPOEKRuubert3/1S1hLHIwbg=", |
8414 | "path": "./private/monitoring", | 8414 | "path": "./private/monitoring", |
8415 | "type": "path" | 8415 | "type": "path" |
8416 | }, | 8416 | }, |
diff --git a/flakes/private/monitoring/flake.nix b/flakes/private/monitoring/flake.nix index 5610d67..980fb47 100644 --- a/flakes/private/monitoring/flake.nix +++ b/flakes/private/monitoring/flake.nix | |||
@@ -183,6 +183,12 @@ | |||
183 | description = "Arguments to pass to the naemon plugin configuration"; | 183 | description = "Arguments to pass to the naemon plugin configuration"; |
184 | type = lib.types.attrsOf (lib.types.attrsOf lib.types.unspecified); | 184 | type = lib.types.attrsOf (lib.types.attrsOf lib.types.unspecified); |
185 | }; | 185 | }; |
186 | availablePlugins = lib.mkOption { | ||
187 | type = lib.types.unspecified; | ||
188 | readOnly = true; | ||
189 | description = "List of available plugins"; | ||
190 | default = allPluginsConfig; | ||
191 | }; | ||
186 | activatedPlugins = lib.mkOption { | 192 | activatedPlugins = lib.mkOption { |
187 | default = []; | 193 | default = []; |
188 | description = "List of naemon plugins to activate"; | 194 | description = "List of naemon plugins to activate"; |