lol

nixos/initrd-ssh: Only warn about shell when using systemd initrd

+1 -1
+1 -1
nixos/modules/system/boot/initrd-ssh.nix
··· 166 166 } 167 167 ]; 168 168 169 - warnings = lib.optional (config.boot.initrd.systemd.enable -> cfg.shell != null) '' 169 + warnings = lib.optional (config.boot.initrd.systemd.enable && cfg.shell != null) '' 170 170 Please set 'boot.initrd.systemd.users.root.shell' instead of 'boot.initrd.network.ssh.shell' 171 171 ''; 172 172