nixos/pcscd: cleanup code

This commit is contained in:
Sandro Jäckel 2023-06-18 22:55:24 +02:00
parent fd309df083
commit c09acaa905
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -16,9 +16,6 @@ let
in
{
###### interface
options.services.pcscd = {
enable = mkEnableOption (lib.mdDoc "PCSC-Lite daemon");
@ -46,10 +43,7 @@ in
};
};
###### implementation
config = mkIf config.services.pcscd.enable {
environment.etc."reader.conf".source = cfgFile;
environment.systemPackages = [ package ];