2024-07-12 10:15:14 +07:00
|
|
|
{ pkgs, config, ... }:
|
|
|
|
let
|
|
|
|
sopsFile = ../../secrets/bareksa.yaml;
|
|
|
|
in
|
|
|
|
{
|
2024-07-12 12:42:48 +07:00
|
|
|
sops.secrets = {
|
|
|
|
"bareksa/openvpn" = {
|
|
|
|
inherit sopsFile;
|
|
|
|
};
|
2024-07-12 10:15:14 +07:00
|
|
|
};
|
|
|
|
|
|
|
|
programs.zsh.shellAliases = {
|
|
|
|
vpn-bareksa = "sudo ${pkgs.openvpn}/bin/openvpn --config ${config.sops.secrets."bareksa/openvpn".path}";
|
|
|
|
};
|
|
|
|
}
|