mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-15 22:41:52 +03:00
Init
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
{
|
||||
config,
|
||||
inputs,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
services.xray = {
|
||||
enable = false;
|
||||
settings = inputs.zeroq-credentials.services.xray.config;
|
||||
};
|
||||
|
||||
# networking.firewall = {
|
||||
# allowedTCPPorts = [
|
||||
# 8443
|
||||
# 9443
|
||||
# 13380
|
||||
# ];
|
||||
# allowedUDPPorts = [
|
||||
# 8443
|
||||
# 9443
|
||||
# 13380
|
||||
# ];
|
||||
# };
|
||||
|
||||
environment.systemPackages = [ pkgs.xray ];
|
||||
|
||||
# sops.secrets = {
|
||||
# xray_uuid = {
|
||||
# key = "uuid";
|
||||
# mode = "0444";
|
||||
# format = "yaml";
|
||||
# sopsFile = ./secrets/xray.yaml;
|
||||
# path = "/etc/xray/uuid";
|
||||
# };
|
||||
# xray_private-key = {
|
||||
# path = "/etc/xray/private-key";
|
||||
# key = "private-key";
|
||||
# mode = "0444";
|
||||
# format = "yaml";
|
||||
# sopsFile = ./secrets/xray.yaml;
|
||||
# };
|
||||
# };
|
||||
}
|
||||
Reference in New Issue
Block a user