modules/proxy: multi-user support
This commit is contained in:
parent
7727c5cf43
commit
082e64b960
3 changed files with 159 additions and 137 deletions
|
@ -3,6 +3,7 @@
|
|||
config = {
|
||||
sops = {
|
||||
age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
|
||||
defaultSopsFile = ./secrets/secrets.yaml;
|
||||
secrets = {
|
||||
wg_private_key = {
|
||||
owner = "root";
|
||||
|
@ -12,14 +13,6 @@
|
|||
owner = "root";
|
||||
sopsFile = ./secrets + "/${config.networking.hostName}.yaml";
|
||||
};
|
||||
"sing-box/password" = {
|
||||
owner = "root";
|
||||
sopsFile = ./secrets/secrets.yaml;
|
||||
};
|
||||
"sing-box/uuid" = {
|
||||
owner = "root";
|
||||
sopsFile = ./secrets/secrets.yaml;
|
||||
};
|
||||
};
|
||||
};
|
||||
swapDevices = [
|
||||
|
@ -32,6 +25,7 @@
|
|||
custom.prometheus.exporters = {
|
||||
enable = true;
|
||||
node.enable = true;
|
||||
blackbox.enable = true;
|
||||
};
|
||||
|
||||
custom.monitoring = {
|
||||
|
@ -44,6 +38,11 @@
|
|||
auth.enable = true;
|
||||
proxyServer = {
|
||||
enable = true;
|
||||
users = [
|
||||
"wyj"
|
||||
"yhb"
|
||||
"xin"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue