mirror of
https://github.com/davegallant/nix-config
synced 2025-08-07 00:58:16 +00:00
nix: package up an overlay for vpngate
This commit is contained in:
@@ -130,7 +130,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
initExtra = ''
|
initExtra = ''
|
||||||
export GOPATH=~/go
|
|
||||||
export GPG_TTY=$(tty)
|
export GPG_TTY=$(tty)
|
||||||
export PATH=$PATH:~/.cargo/bin
|
export PATH=$PATH:~/.cargo/bin
|
||||||
export PATH=$PATH:~/.local/bin
|
export PATH=$PATH:~/.local/bin
|
||||||
@@ -230,6 +229,13 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
go = {
|
||||||
|
enable = true;
|
||||||
|
goBin = "go/bin";
|
||||||
|
goPath = "go";
|
||||||
|
};
|
||||||
|
|
||||||
tmux = {
|
tmux = {
|
||||||
enable = true;
|
enable = true;
|
||||||
clock24 = true;
|
clock24 = true;
|
||||||
|
@@ -3,5 +3,6 @@
|
|||||||
[
|
[
|
||||||
(import ./rfd.nix)
|
(import ./rfd.nix)
|
||||||
(import ./lastpass.nix)
|
(import ./lastpass.nix)
|
||||||
|
(import ./vpngate.nix)
|
||||||
]
|
]
|
||||||
|
|
||||||
|
26
nix/overlays/vpngate.nix
Normal file
26
nix/overlays/vpngate.nix
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
self: super:
|
||||||
|
|
||||||
|
rec {
|
||||||
|
|
||||||
|
vpngate = with self; buildGoModule rec {
|
||||||
|
pname = "vpngate";
|
||||||
|
version = "v0.0.2";
|
||||||
|
|
||||||
|
vendorSha256 = "1ys2rvrbxgsrvmjdxqgpmxf0m9nlp905gnr2mrf3c7iaxm86wgf8";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "davegallant";
|
||||||
|
repo = "vpngate";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "0ky3wd04xd4sb2zskrrlbgys2gw88yqhngg3bl0sjy8kr6099vfn";
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = with super.lib; {
|
||||||
|
homepage = "https://www.vpngate.net";
|
||||||
|
description = "a client for vpngate.net";
|
||||||
|
license = licenses.asl20;
|
||||||
|
maintainers = with maintainers; [ davegallant ];
|
||||||
|
platforms = platforms.linux ++ platforms.darwin;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
@@ -53,9 +53,6 @@ with pkgs; [
|
|||||||
openvpn
|
openvpn
|
||||||
postman
|
postman
|
||||||
|
|
||||||
# go
|
|
||||||
go
|
|
||||||
|
|
||||||
# terraform
|
# terraform
|
||||||
terraform-ls
|
terraform-ls
|
||||||
terraform_0_14
|
terraform_0_14
|
||||||
@@ -148,4 +145,5 @@ with pkgs; [
|
|||||||
# overlays
|
# overlays
|
||||||
rfd
|
rfd
|
||||||
lpass
|
lpass
|
||||||
|
vpngate
|
||||||
]
|
]
|
||||||
|
Reference in New Issue
Block a user