modules/nixos: remove cgroup-exporter
This commit is contained in:
parent
5571427575
commit
a7ee03f5f3
3 changed files with 0 additions and 35 deletions
21
flake.lock
generated
21
flake.lock
generated
|
@ -29,26 +29,6 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"cgroup-exporter": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1736508617,
|
||||
"narHash": "sha256-YV49EvJWc+uae6R3REuk/XWZfKBKzfwx1Mu0/SlmBWE=",
|
||||
"owner": "arianvp",
|
||||
"repo": "cgroup-exporter",
|
||||
"rev": "30eca88d60087e2cc7e9339acbaa6fae1f167d81",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "arianvp",
|
||||
"repo": "cgroup-exporter",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"disko": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
|
@ -323,7 +303,6 @@
|
|||
"root": {
|
||||
"inputs": {
|
||||
"buildbot-nix": "buildbot-nix",
|
||||
"cgroup-exporter": "cgroup-exporter",
|
||||
"disko": "disko",
|
||||
"empty": "empty",
|
||||
"flake-compat": "flake-compat",
|
||||
|
|
|
@ -12,8 +12,6 @@
|
|||
buildbot-nix.inputs.nixpkgs.follows = "nixpkgs";
|
||||
buildbot-nix.inputs.treefmt-nix.follows = "treefmt-nix";
|
||||
buildbot-nix.url = "github:nix-community/buildbot-nix";
|
||||
cgroup-exporter.inputs.nixpkgs.follows = "nixpkgs";
|
||||
cgroup-exporter.url = "github:arianvp/cgroup-exporter";
|
||||
disko.inputs.nixpkgs.follows = "nixpkgs";
|
||||
disko.url = "github:nix-community/disko";
|
||||
empty.url = "github:nix-systems/empty";
|
||||
|
|
|
@ -1,20 +1,8 @@
|
|||
{
|
||||
config,
|
||||
inputs,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
imports = [
|
||||
inputs.cgroup-exporter.nixosModules.default
|
||||
];
|
||||
|
||||
services.prometheus.exporters.cgroup.enable = true;
|
||||
|
||||
services.telegraf.extraConfig.inputs.prometheus.urls = [
|
||||
"http://localhost:${toString config.services.prometheus.exporters.cgroup.port}/metrics"
|
||||
];
|
||||
|
||||
nix = {
|
||||
package = pkgs.nixVersions.nix_2_25;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue