From 947e3da4e556be56f8512b6dba949cefce0481e9 Mon Sep 17 00:00:00 2001
From: zowoq <59103226+zowoq@users.noreply.github.com>
Date: Wed, 2 Oct 2024 11:34:03 +1000
Subject: [PATCH] flake: add cgroup-exporter

---
 flake.lock | 21 +++++++++++++++++++++
 flake.nix  |  2 ++
 2 files changed, 23 insertions(+)

diff --git a/flake.lock b/flake.lock
index d1221a4..85ba768 100644
--- a/flake.lock
+++ b/flake.lock
@@ -55,6 +55,26 @@
         "type": "github"
       }
     },
+    "cgroup-exporter": {
+      "inputs": {
+        "nixpkgs": [
+          "nixpkgs"
+        ]
+      },
+      "locked": {
+        "lastModified": 1727276091,
+        "narHash": "sha256-CG8XCZemSAs53VKU9VSARprQWI+0mj/RmTsp2WMJr6s=",
+        "owner": "arianvp",
+        "repo": "cgroup-exporter",
+        "rev": "816bfe1bc881ae43cf392949c47d8516a48fceeb",
+        "type": "github"
+      },
+      "original": {
+        "owner": "arianvp",
+        "repo": "cgroup-exporter",
+        "type": "github"
+      }
+    },
     "disko": {
       "inputs": {
         "nixpkgs": [
@@ -317,6 +337,7 @@
       "inputs": {
         "agenix": "agenix",
         "buildbot-nix": "buildbot-nix",
+        "cgroup-exporter": "cgroup-exporter",
         "disko": "disko",
         "empty": "empty",
         "flake-compat": "flake-compat",
diff --git a/flake.nix b/flake.nix
index 1cada3e..d78a24a 100644
--- a/flake.nix
+++ b/flake.nix
@@ -16,6 +16,8 @@
     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";