From f6378570a688736b126537d6316b890cd4aebd9c Mon Sep 17 00:00:00 2001 From: Bad Date: Sat, 18 Jun 2022 00:07:23 +0200 Subject: [PATCH] Fix peernix --- flake.lock | 10 +++++----- flake.nix | 3 ++- profiles/peerix/default.nix | 3 ++- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/flake.lock b/flake.lock index 988cb0e..24878bf 100644 --- a/flake.lock +++ b/flake.lock @@ -515,15 +515,15 @@ ] }, "locked": { - "lastModified": 1637002926, - "narHash": "sha256-Iix+XcgkspoV+iVC4wvbX6jZhoThC8dn0RSNUc+Z448=", - "owner": "cid-chan", + "lastModified": 1655501784, + "narHash": "sha256-7XcuWfs8yvqTiYAZhYkPbqWL2HQl5BqN0lFguqBVKbs=", + "owner": "MaeIsBad", "repo": "peerix", - "rev": "4ada6bfb74ab46740adce091271e3bd7c8ade827", + "rev": "b025b2beed9bf5638990c265fcf2b6a3c2b83009", "type": "github" }, "original": { - "owner": "cid-chan", + "owner": "MaeIsBad", "repo": "peerix", "type": "github" } diff --git a/flake.nix b/flake.nix index 7c69a10..46dbed5 100644 --- a/flake.nix +++ b/flake.nix @@ -39,7 +39,8 @@ naersk.url = "github:nmattia/naersk"; naersk.inputs.nixpkgs.follows = "nixos"; - peerix.url = "github:cid-chan/peerix"; +# peerix.url = "github:cid-chan/peerix"; + peerix.url = "github:MaeIsBad/peerix"; peerix.inputs.nixpkgs.follows = "nixos"; nixos-hardware.url = "github:nixos/nixos-hardware"; diff --git a/profiles/peerix/default.nix b/profiles/peerix/default.nix index f9c5ab1..8d4709d 100644 --- a/profiles/peerix/default.nix +++ b/profiles/peerix/default.nix @@ -1,4 +1,4 @@ -{config, ...}: +{config, pkgs, ...}: let peerix_user = "peerix"; in @@ -16,6 +16,7 @@ in services.peerix = { enable = true; + package = pkgs.peerix; user = peerix_user; privateKeyFile = config.age.secrets.binary-cache-secret.path; publicKey = (builtins.readFile ../../secrets/binary-cache-pub);