mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 04:49:01 +02:00
Merge pull request #59480 from worldofpeace/fprintd-systemd
nixos/fprintd: use systemd.packages
This commit is contained in:
commit
b5f26f3803
|
@ -26,28 +26,20 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
###### implementation
|
###### implementation
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
|
|
||||||
services.dbus.packages = [ pkgs.fprintd ];
|
services.dbus.packages = [ pkgs.fprintd ];
|
||||||
|
|
||||||
environment.systemPackages = [ pkgs.fprintd ];
|
environment.systemPackages = [ pkgs.fprintd ];
|
||||||
|
|
||||||
systemd.services.fprintd = {
|
systemd.packages = [ pkgs.fprintd ];
|
||||||
description = "Fingerprint Authentication Daemon";
|
|
||||||
|
|
||||||
serviceConfig = {
|
|
||||||
Type = "dbus";
|
|
||||||
BusName = "net.reactivated.Fprint";
|
|
||||||
ExecStart = "${pkgs.fprintd}/libexec/fprintd";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue