Fix peernix
This commit is contained in:
parent
0813bee4ee
commit
f6378570a6
3 changed files with 9 additions and 7 deletions
10
flake.lock
10
flake.lock
|
@ -515,15 +515,15 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1637002926,
|
"lastModified": 1655501784,
|
||||||
"narHash": "sha256-Iix+XcgkspoV+iVC4wvbX6jZhoThC8dn0RSNUc+Z448=",
|
"narHash": "sha256-7XcuWfs8yvqTiYAZhYkPbqWL2HQl5BqN0lFguqBVKbs=",
|
||||||
"owner": "cid-chan",
|
"owner": "MaeIsBad",
|
||||||
"repo": "peerix",
|
"repo": "peerix",
|
||||||
"rev": "4ada6bfb74ab46740adce091271e3bd7c8ade827",
|
"rev": "b025b2beed9bf5638990c265fcf2b6a3c2b83009",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "cid-chan",
|
"owner": "MaeIsBad",
|
||||||
"repo": "peerix",
|
"repo": "peerix",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
|
|
|
@ -39,7 +39,8 @@
|
||||||
naersk.url = "github:nmattia/naersk";
|
naersk.url = "github:nmattia/naersk";
|
||||||
naersk.inputs.nixpkgs.follows = "nixos";
|
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";
|
peerix.inputs.nixpkgs.follows = "nixos";
|
||||||
|
|
||||||
nixos-hardware.url = "github:nixos/nixos-hardware";
|
nixos-hardware.url = "github:nixos/nixos-hardware";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{config, ...}:
|
{config, pkgs, ...}:
|
||||||
let
|
let
|
||||||
peerix_user = "peerix";
|
peerix_user = "peerix";
|
||||||
in
|
in
|
||||||
|
@ -16,6 +16,7 @@ in
|
||||||
|
|
||||||
services.peerix = {
|
services.peerix = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
package = pkgs.peerix;
|
||||||
user = peerix_user;
|
user = peerix_user;
|
||||||
privateKeyFile = config.age.secrets.binary-cache-secret.path;
|
privateKeyFile = config.age.secrets.binary-cache-secret.path;
|
||||||
publicKey = (builtins.readFile ../../secrets/binary-cache-pub);
|
publicKey = (builtins.readFile ../../secrets/binary-cache-pub);
|
||||||
|
|
Loading…
Reference in a new issue