From cc3cb4fc720e9511908ab1da82887828e23f06fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?m=C3=BCde?= Date: Thu, 14 May 2026 21:12:05 +0200 Subject: [PATCH] add hyperhive --- flake.lock | 117 ++++++++++++++++++- flake.nix | 4 + nixosConfigurations/muede-lpt2/default.nix | 1 + nixosConfigurations/muede-lpt2/hyperhive.nix | 6 + 4 files changed, 124 insertions(+), 4 deletions(-) create mode 100644 nixosConfigurations/muede-lpt2/hyperhive.nix diff --git a/flake.lock b/flake.lock index b0d2c2e..b8c993f 100644 --- a/flake.lock +++ b/flake.lock @@ -161,6 +161,7 @@ "fenix": { "inputs": { "nixpkgs": [ + "hyperhive", "naersk", "nixpkgs" ], @@ -180,6 +181,28 @@ "type": "github" } }, + "fenix_2": { + "inputs": { + "nixpkgs": [ + "naersk", + "nixpkgs" + ], + "rust-analyzer-src": "rust-analyzer-src_2" + }, + "locked": { + "lastModified": 1752475459, + "narHash": "sha256-z6QEu4ZFuHiqdOPbYss4/Q8B0BFhacR8ts6jO/F/aOU=", + "owner": "nix-community", + "repo": "fenix", + "rev": "bf0d6f70f4c9a9cf8845f992105652173f4b617f", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "fenix", + "type": "github" + } + }, "firefox-gnome-theme": { "flake": false, "locked": { @@ -344,6 +367,31 @@ "type": "github" } }, + "hyperhive": { + "inputs": { + "naersk": "naersk", + "nixpkgs": [ + "nixpkgs" + ], + "nixpkgs-unstable": [ + "nixpkgs-unstable" + ], + "treefmt-nix": "treefmt-nix" + }, + "locked": { + "lastModified": 1778860194, + "narHash": "sha256-WZW44eiWOlQOEUB6hzIraDYhVqvHDHcFvNy34tzoqe0=", + "ref": "refs/heads/main", + "rev": "f33fc3dd50c2b80335da86bff5c3c2ad5ab87287", + "revCount": 133, + "type": "git", + "url": "https://git.berlin.ccc.de/vinzenz/hyperhive.git" + }, + "original": { + "type": "git", + "url": "https://git.berlin.ccc.de/vinzenz/hyperhive.git" + } + }, "lanzaboote": { "inputs": { "crane": "crane", @@ -373,6 +421,28 @@ "naersk": { "inputs": { "fenix": "fenix", + "nixpkgs": [ + "hyperhive", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1778151388, + "narHash": "sha256-lldMJPUeouEjO8/7aLuwhcsIw29vVihm2ZALzjiqfec=", + "owner": "nix-community", + "repo": "naersk", + "rev": "efdddff9ff4d8e7d0056d57ec67dac50f75ab8f6", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "naersk", + "type": "github" + } + }, + "naersk_2": { + "inputs": { + "fenix": "fenix_2", "nixpkgs": [ "nixpkgs" ] @@ -656,7 +726,7 @@ "nixpkgs-unstable" ], "quickshell": "quickshell", - "treefmt-nix": "treefmt-nix" + "treefmt-nix": "treefmt-nix_2" }, "locked": { "lastModified": 1778182618, @@ -746,8 +816,9 @@ "inputs": { "flake-parts": "flake-parts", "home-manager": "home-manager", + "hyperhive": "hyperhive", "lanzaboote": "lanzaboote", - "naersk": "naersk", + "naersk": "naersk_2", "niri": "niri", "nix-filter": "nix-filter", "nix-vscode-extensions": "nix-vscode-extensions", @@ -761,7 +832,7 @@ "servicepoint-simulator": "servicepoint-simulator", "servicepoint-tanks": "servicepoint-tanks", "stylix": "stylix", - "treefmt-nix": "treefmt-nix_2", + "treefmt-nix": "treefmt-nix_3", "zerforschen-plus": "zerforschen-plus" } }, @@ -782,6 +853,23 @@ "type": "github" } }, + "rust-analyzer-src_2": { + "flake": false, + "locked": { + "lastModified": 1752428706, + "narHash": "sha256-EJcdxw3aXfP8Ex1Nm3s0awyH9egQvB2Gu+QEnJn2Sfg=", + "owner": "rust-lang", + "repo": "rust-analyzer", + "rev": "591e3b7624be97e4443ea7b5542c191311aa141d", + "type": "github" + }, + "original": { + "owner": "rust-lang", + "ref": "nightly", + "repo": "rust-analyzer", + "type": "github" + } + }, "rust-overlay": { "inputs": { "nixpkgs": [ @@ -1016,7 +1104,7 @@ "treefmt-nix": { "inputs": { "nixpkgs": [ - "nova-shell", + "hyperhive", "nixpkgs" ] }, @@ -1035,6 +1123,27 @@ } }, "treefmt-nix_2": { + "inputs": { + "nixpkgs": [ + "nova-shell", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1775636079, + "narHash": "sha256-pc20NRoMdiar8oPQceQT47UUZMBTiMdUuWrYu2obUP0=", + "owner": "numtide", + "repo": "treefmt-nix", + "rev": "790751ff7fd3801feeaf96d7dc416a8d581265ba", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "treefmt-nix", + "type": "github" + } + }, + "treefmt-nix_3": { "inputs": { "nixpkgs": [ "nixpkgs" diff --git a/flake.nix b/flake.nix index e95af0e..d8125da 100644 --- a/flake.nix +++ b/flake.nix @@ -13,6 +13,10 @@ url = "github:hercules-ci/flake-parts"; #inputs.nixpkgs.follows = "nixpkgs"; }; + hyperhive = { + url = "git+https://git.berlin.ccc.de/vinzenz/hyperhive.git"; + inputs.nixpkgs.follows = "nixpkgs"; + }; lanzaboote = { url = "github:nix-community/lanzaboote/v0.4.3"; inputs.nixpkgs.follows = "nixpkgs"; diff --git a/nixosConfigurations/muede-lpt2/default.nix b/nixosConfigurations/muede-lpt2/default.nix index be7927c..367a7df 100644 --- a/nixosConfigurations/muede-lpt2/default.nix +++ b/nixosConfigurations/muede-lpt2/default.nix @@ -3,6 +3,7 @@ imports = [ ./containers.nix ./hardware.nix + ./hyperhive.nix ]; config = { diff --git a/nixosConfigurations/muede-lpt2/hyperhive.nix b/nixosConfigurations/muede-lpt2/hyperhive.nix new file mode 100644 index 0000000..0874c38 --- /dev/null +++ b/nixosConfigurations/muede-lpt2/hyperhive.nix @@ -0,0 +1,6 @@ +{ hyperhive, ... }: +{ + imports = [ hyperhive.nixosModules.hive-c0re ]; + + config.services.hive-c0re.enable = true; +}