Rewrite globalprotect-remote-connect
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
5
hosts/common/configs/system/cloudflared/default.nix
Normal file
5
hosts/common/configs/system/cloudflared/default.nix
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
{ ... }:
|
||||||
|
{
|
||||||
|
# https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/get-started/create-local-tunnel/
|
||||||
|
services.cloudflared.enable = true;
|
||||||
|
}
|
@@ -15,6 +15,7 @@
|
|||||||
../common/configs/system/brightnessctl
|
../common/configs/system/brightnessctl
|
||||||
../common/configs/system/btop
|
../common/configs/system/btop
|
||||||
../common/configs/system/btrfs
|
../common/configs/system/btrfs
|
||||||
|
../common/configs/system/cloudflared
|
||||||
../common/configs/system/cpu
|
../common/configs/system/cpu
|
||||||
../common/configs/system/docker
|
../common/configs/system/docker
|
||||||
../common/configs/system/fastfetch
|
../common/configs/system/fastfetch
|
||||||
@@ -46,6 +47,7 @@
|
|||||||
../common/configs/system/users
|
../common/configs/system/users
|
||||||
../common/configs/system/wget
|
../common/configs/system/wget
|
||||||
../common/configs/system/zsh
|
../common/configs/system/zsh
|
||||||
|
./configs/system/globalprotect-remote-connect
|
||||||
./users/nikara
|
./users/nikara
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@@ -61,7 +61,6 @@ in
|
|||||||
(import ../../../common/configs/user/gui/wev { inherit user home; })
|
(import ../../../common/configs/user/gui/wev { inherit user home; })
|
||||||
(import ../../../common/configs/user/gui/x11 { inherit user home; })
|
(import ../../../common/configs/user/gui/x11 { inherit user home; })
|
||||||
(import ../../../common/configs/user/gui/xdg { inherit user home; })
|
(import ../../../common/configs/user/gui/xdg { inherit user home; })
|
||||||
(import ../../configs/user/console/globalprotect-remote-connect { inherit user home; })
|
|
||||||
];
|
];
|
||||||
|
|
||||||
# echo "password" | mkpasswd -s
|
# echo "password" | mkpasswd -s
|
||||||
@@ -112,16 +111,14 @@ in
|
|||||||
"gpg/personal/pass".sopsFile = ../../../../secrets/personal/secrets.yaml;
|
"gpg/personal/pass".sopsFile = ../../../../secrets/personal/secrets.yaml;
|
||||||
|
|
||||||
# SAS
|
# SAS
|
||||||
"globalprotect/server".sopsFile = ../../../../secrets/sas/secrets.yaml;
|
|
||||||
"globalprotect/email".sopsFile = ../../../../secrets/sas/secrets.yaml;
|
|
||||||
"globalprotect/password".sopsFile = ../../../../secrets/sas/secrets.yaml;
|
|
||||||
"globalprotect/gateway".sopsFile = ../../../../secrets/sas/secrets.yaml;
|
|
||||||
|
|
||||||
"ssh/sas/git/key" = {
|
"ssh/sas/git/key" = {
|
||||||
sopsFile = ../../../../secrets/sas/secrets.yaml;
|
sopsFile = ../../../../secrets/sas/secrets.yaml;
|
||||||
path = "${home}/.ssh/ssh_git_sas_ed25519_key";
|
path = "${home}/.ssh/ssh_git_sas_ed25519_key";
|
||||||
};
|
};
|
||||||
"ssh/sas/git/pass".sopsFile = ../../../../secrets/sas/secrets.yaml;
|
"ssh/sas/git/pass".sopsFile = ../../../../secrets/sas/secrets.yaml;
|
||||||
|
|
||||||
|
"gpg/sas/key".sopsFile = ../../../../secrets/sas/secrets.yaml;
|
||||||
|
"gpg/sas/pass".sopsFile = ../../../../secrets/sas/secrets.yaml;
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.ssh.matchBlocks = {
|
programs.ssh.matchBlocks = {
|
||||||
|
Reference in New Issue
Block a user