mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-09-10 20:11:47 +02:00
fix(security): tighten desktop remote access
This commit is contained in:
@@ -3,5 +3,11 @@
|
||||
outputs,
|
||||
}:
|
||||
lib.genAttrs (builtins.attrNames outputs.nixosConfigurations) (
|
||||
name: outputs.nixosConfigurations.${name}.config.services.openssh.settings.X11Forwarding
|
||||
name:
|
||||
let
|
||||
settings = outputs.nixosConfigurations.${name}.config.services.openssh.settings;
|
||||
in
|
||||
{
|
||||
inherit (settings) PermitRootLogin X11Forwarding;
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user