nemo: disable pam_rssh (again!) for now as rust 1.80 broke some pkgs
This commit is contained in:
parent
95461b403a
commit
3730825295
1 changed files with 17 additions and 15 deletions
|
@ -115,20 +115,22 @@
|
|||
linkConfig.RequiredForOnline = "routable";
|
||||
};
|
||||
|
||||
security = {
|
||||
pam.services.doas =
|
||||
{ config, ... }:
|
||||
{
|
||||
rules.auth.rssh = {
|
||||
order = config.rules.auth.ssh_agent_auth.order - 1;
|
||||
control = "sufficient";
|
||||
modulePath = "${pkgs.pam_rssh}/lib/libpam_rssh.so";
|
||||
settings.authorized_keys_command = pkgs.writeShellScript "get-authorized-keys" ''
|
||||
cat "/etc/ssh/authorized_keys.d/$1"
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
# FIXME: pam_rssh is broken from rust 1.80 upgrade
|
||||
# environment.systemPackages = [ pkgs.pam_rssh ];
|
||||
# security = {
|
||||
# pam.services.doas =
|
||||
# { config, ... }:
|
||||
# {
|
||||
# rules.auth.rssh = {
|
||||
# order = config.rules.auth.ssh_agent_auth.order - 1;
|
||||
# control = "sufficient";
|
||||
# modulePath = "${pkgs.pam_rssh}/lib/libpam_rssh.so";
|
||||
# settings.authorized_keys_command = pkgs.writeShellScript "get-authorized-keys" ''
|
||||
# cat "/etc/ssh/authorized_keys.d/$1"
|
||||
# '';
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
|
||||
services.resolved = {
|
||||
enable = true;
|
||||
|
@ -164,7 +166,7 @@
|
|||
environment.systemPackages = with pkgs; [
|
||||
ffado
|
||||
lm_sensors
|
||||
pkgs.pam_rssh
|
||||
# pkgs.pam_rssh
|
||||
openconnect
|
||||
];
|
||||
|
||||
|
|
Loading…
Reference in a new issue