nix/hosts/shadowshocks/default.nix

29 lines
469 B
Nix

{
config,
pkgs,
lib,
...
}:
{
age.secrets.shadowshocks-password.file = ../../secrets/shadowshocks-password.age;
my = {
utils = {
commons.enable = true;
commons.gc.enable = true;
lxc-standard.enable = true;
};
virtualisation.proxmox.enable = true;
};
services.shadowsocks = {
enable = true;
passwordFile = config.age.secrets.shadowshocks-password.path;
port = 8388;
};
system.stateVersion = "24.11";
}