mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2025-01-04 10:16:33 +01:00
Add peerix
This commit is contained in:
parent
5a52713c54
commit
e6074bc314
1 changed files with 15 additions and 0 deletions
15
flake.nix
15
flake.nix
|
@ -79,6 +79,13 @@
|
||||||
inputs.utils.follows = "flake-utils";
|
inputs.utils.follows = "flake-utils";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
peerix = {
|
||||||
|
url = github:cid-chan/peerix;
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
inputs.flake-compat.follows = "flake-compat";
|
||||||
|
inputs.flake-utils.follows = "flake-utils";
|
||||||
|
};
|
||||||
|
|
||||||
# Dependcies
|
# Dependcies
|
||||||
flake-compat = {
|
flake-compat = {
|
||||||
url = github:edolstra/flake-compat;
|
url = github:edolstra/flake-compat;
|
||||||
|
@ -115,12 +122,20 @@
|
||||||
systems.modules = with inputs; [
|
systems.modules = with inputs; [
|
||||||
home-manager.nixosModules.home-manager
|
home-manager.nixosModules.home-manager
|
||||||
nur.nixosModules.nur
|
nur.nixosModules.nur
|
||||||
|
peerix.nixosModules.peerix
|
||||||
{
|
{
|
||||||
home-manager = {
|
home-manager = {
|
||||||
useGlobalPkgs = true;
|
useGlobalPkgs = true;
|
||||||
useUserPackages = true;
|
useUserPackages = true;
|
||||||
};
|
};
|
||||||
system.stateVersion = "23.05";
|
system.stateVersion = "23.05";
|
||||||
|
services.peerix = {
|
||||||
|
enable = true;
|
||||||
|
openFirewall = true;
|
||||||
|
privateKeyFile = ./peerix-private;
|
||||||
|
publicKeyFile = ./peerix-public;
|
||||||
|
publicKey = "peerix-kami:4DwMEXpwqOWq+fj8gF435FbYGzMkKoMQAUk/0OX0Y0g=";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue