forked from Deuxfleurs/nixcfg
Wesher package now works
This commit is contained in:
parent
3d8989b9c9
commit
9ff81afd7e
2 changed files with 23 additions and 21 deletions
|
@ -19,15 +19,15 @@
|
|||
./node.nix
|
||||
];
|
||||
|
||||
nixpkgs.overlays = [
|
||||
(import ./wesher.nix)
|
||||
];
|
||||
|
||||
# The global useDHCP flag is deprecated, therefore explicitly set to false here.
|
||||
# Per-interface useDHCP will be mandatory in the future, so this generated config
|
||||
# replicates the default behaviour.
|
||||
networking.useDHCP = false;
|
||||
|
||||
nixpkgs.overlays = [
|
||||
(import ./wesher.nix)
|
||||
];
|
||||
|
||||
# Set your time zone.
|
||||
time.timeZone = "Europe/Paris";
|
||||
|
||||
|
|
|
@ -1,23 +1,25 @@
|
|||
pkgs:
|
||||
pkgs.buildGoModule rec {
|
||||
self: super:
|
||||
{
|
||||
wesher = super.buildGoModule rec {
|
||||
pname = "wesher";
|
||||
version = "0.2.6";
|
||||
|
||||
src = pkgs.fetchFromGitHub {
|
||||
src = super.fetchFromGitHub {
|
||||
owner = "costela";
|
||||
repo = "wesher";
|
||||
rev = "v${version}";
|
||||
sha256 = "1fnclr556avxay6pvgw5ya3xbxfnf2gv4njq2hr4fd6fcjyslq5h";
|
||||
sha256 = "1iagmnw2yf15r0fpikk610w0lm0gcxw83lcwfjyr2jv1q2ys71hh";
|
||||
};
|
||||
|
||||
vendorSha256 = null;
|
||||
vendorSha256 = "0nyg0wzn8d4rzjs8yrxxj3gha94043ll80s1ql0fml025q2f3705";
|
||||
|
||||
checkPhase = "true";
|
||||
|
||||
meta = with pkgs.lib; {
|
||||
meta = with super.lib; {
|
||||
description = "wireguard overlay mesh network manager";
|
||||
homepage = "https://github.com/costela/wesher";
|
||||
license = licenses.gpl3Plus;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue