Fix peernix

This commit is contained in:
Bad 2022-06-18 00:07:23 +02:00
parent 0813bee4ee
commit f6378570a6
3 changed files with 9 additions and 7 deletions

View file

@ -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"
}

View file

@ -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";

View file

@ -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);