Merge commit 'd835588135'
This commit is contained in:
commit
34299f5614
3 changed files with 27 additions and 12 deletions
|
|
@ -19,8 +19,23 @@ in {
|
|||
systemPackages = [athena.ase-pkcs11];
|
||||
};
|
||||
|
||||
#FIXME: Extremadamente peligroso si BCCR o MICITT caen, investigar política nacional de root CA
|
||||
security.pki.certificateFiles = ["${athena.bccr-cacerts}/root-ca.pem"];
|
||||
security = {
|
||||
#FIXME: Extremadamente peligroso si BCCR o MICITT caen, investigar política nacional de root CA
|
||||
pki.certificateFiles = ["${athena.bccr-cacerts}/root-ca.pem"];
|
||||
|
||||
polkit = {
|
||||
enable = lib.mkDefault true;
|
||||
|
||||
extraConfig = ''
|
||||
polkit.addRule(function(action, subject) {
|
||||
if ((action.id == "org.debian.pcsc-lite.access_pcsc" || action.id == "org.debian.pcsc-lite.access_card") &&
|
||||
subject.isInGroup("users")) {
|
||||
return polkit.Result.YES;
|
||||
}
|
||||
});
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
services = {
|
||||
pcscd.enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue