mirror of
https://github.com/CHN-beta/nixos.git
synced 2026-01-12 04:39:23 +08:00
modules.services.xray: fix
This commit is contained in:
@@ -347,8 +347,9 @@ inputs:
|
||||
(
|
||||
inputs.lib.mkIf (xray.server != null)
|
||||
(
|
||||
let userList = builtins.attrValues
|
||||
(inputs.pkgs.localPackages.fromYaml inputs.config.sops.defaultSopsFile).xray-server.clients;
|
||||
let userList = builtins.attrNames
|
||||
(inputs.pkgs.localPackages.fromYaml (builtins.readFile inputs.config.sops.defaultSopsFile))
|
||||
.xray-server.clients;
|
||||
in
|
||||
{
|
||||
services.xray =
|
||||
|
||||
Reference in New Issue
Block a user