Huge Typo!!!
This commit is contained in:
parent
830670c8f0
commit
abbad538be
6 changed files with 13 additions and 13 deletions
45
hosts/shadowsocks/default.nix
Normal file
45
hosts/shadowsocks/default.nix
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
let
|
||||
shadowsocks-port = 8388;
|
||||
p = import ../parameters.nix;
|
||||
in
|
||||
{
|
||||
|
||||
age.secrets = {
|
||||
shadowsocks-password.file = ../../secrets/shadowsocks-password.age;
|
||||
tailscale-authKey.file = ../../secrets/tailscale-authKey.age;
|
||||
};
|
||||
|
||||
my = {
|
||||
|
||||
networking = {
|
||||
|
||||
shadowsocks = {
|
||||
enable = true;
|
||||
port = shadowsocks-port;
|
||||
passwordFile = config.age.secrets.shadowsocks-password.path;
|
||||
};
|
||||
|
||||
tailscale = {
|
||||
enable = true;
|
||||
magicDNSDomain = p.domains.tsDns;
|
||||
authKeyFile = config.age.secrets.tailscale-authKey.path;
|
||||
};
|
||||
};
|
||||
|
||||
utils = {
|
||||
commons.enable = true;
|
||||
commons.gc.enable = true;
|
||||
lxc-standard.enable = true;
|
||||
};
|
||||
|
||||
virtualisation.proxmox.enable = true;
|
||||
};
|
||||
|
||||
system.stateVersion = "24.11";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue