about summary refs log tree commit diff
path: root/nixos/modules/services/computing
diff options
context:
space:
mode:
authorMatthieu Coudron <teto@users.noreply.github.com>2023-02-07 00:11:18 +0100
committerGitHub <noreply@github.com>2023-02-07 00:11:18 +0100
commitef5da70d669321d482523ba64d331e7b09d6933b (patch)
treeba3f53625d869185baeb3b87ed0a205ff04272ec /nixos/modules/services/computing
parente74dc4bf646e2e8fe863e2699be57072a9e6b1a0 (diff)
downloadnixlib-ef5da70d669321d482523ba64d331e7b09d6933b.tar
nixlib-ef5da70d669321d482523ba64d331e7b09d6933b.tar.gz
nixlib-ef5da70d669321d482523ba64d331e7b09d6933b.tar.bz2
nixlib-ef5da70d669321d482523ba64d331e7b09d6933b.tar.lz
nixlib-ef5da70d669321d482523ba64d331e7b09d6933b.tar.xz
nixlib-ef5da70d669321d482523ba64d331e7b09d6933b.tar.zst
nixlib-ef5da70d669321d482523ba64d331e7b09d6933b.zip
services.openssh: rename several settings (#211991)
* services.openssh: rename several settings

... to match the sshd config format (makes transition smoother), namely:
services.openssh.forwardX11 -> services.openssh.settings.X11Forwarding
services.openssh.cyphers -> services.openssh.settings.Cyphers
services.openssh.macs -> services.openssh.settings.Macs
services.openssh.kexAlgorithms -> services.openssh.settings.KexAlgorithms
services.openssh.gatewayPorts -> services.openssh.settings.GatewayPorts

* release-notes: mention openssh renaming

* chore: regenerated release-notes
Diffstat (limited to 'nixos/modules/services/computing')
-rw-r--r--nixos/modules/services/computing/slurm/slurm.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/computing/slurm/slurm.nix b/nixos/modules/services/computing/slurm/slurm.nix
index 0c80e79d4b79..344c43a429b3 100644
--- a/nixos/modules/services/computing/slurm/slurm.nix
+++ b/nixos/modules/services/computing/slurm/slurm.nix
@@ -383,7 +383,7 @@ in
       "d /var/spool/slurmd 755 root root -"
     ];
 
-    services.openssh.forwardX11 = mkIf cfg.client.enable (mkDefault true);
+    services.openssh.settings.X11Forwarding = mkIf cfg.client.enable (mkDefault true);
 
     systemd.services.slurmctld = mkIf (cfg.server.enable) {
       path = with pkgs; [ wrappedSlurm munge coreutils ]