mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-11 15:26:03 +03:00
Merge pull request #266116 from ElvishJerricco/sd-s1-user-shells-fix-warning
nixos/initrd-ssh: Only warn about shell when using systemd initrd
This commit is contained in:
commit
eaad9ece24
@ -166,7 +166,7 @@ in
|
||||
}
|
||||
];
|
||||
|
||||
warnings = lib.optional (config.boot.initrd.systemd.enable -> cfg.shell != null) ''
|
||||
warnings = lib.optional (config.boot.initrd.systemd.enable && cfg.shell != null) ''
|
||||
Please set 'boot.initrd.systemd.users.root.shell' instead of 'boot.initrd.network.ssh.shell'
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user