mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
rtkit: Update from 0.10 to 0.11
This commit is contained in:
parent
3ad27289fc
commit
5db9287b7c
2 changed files with 13 additions and 4 deletions
|
@ -25,8 +25,13 @@ with lib;
|
||||||
|
|
||||||
config = mkIf config.security.rtkit.enable {
|
config = mkIf config.security.rtkit.enable {
|
||||||
|
|
||||||
|
security.polkit.enable = true;
|
||||||
|
|
||||||
|
# To make polkit pickup rtkit policies
|
||||||
environment.systemPackages = [ pkgs.rtkit ];
|
environment.systemPackages = [ pkgs.rtkit ];
|
||||||
|
|
||||||
|
systemd.packages = [ pkgs.rtkit ];
|
||||||
|
|
||||||
services.dbus.packages = [ pkgs.rtkit ];
|
services.dbus.packages = [ pkgs.rtkit ];
|
||||||
|
|
||||||
users.extraUsers = singleton
|
users.extraUsers = singleton
|
||||||
|
|
|
@ -1,15 +1,19 @@
|
||||||
{ stdenv, fetchurl, pkgconfig, dbus, libcap }:
|
{ stdenv, fetchurl, pkgconfig, dbus, libcap }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "rtkit-0.10";
|
name = "rtkit-0.11";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://0pointer.de/public/${name}.tar.gz";
|
url = "http://0pointer.de/public/${name}.tar.xz";
|
||||||
sha256 = "08118ya3pkxd6gbbshas23xwj483169fqmxzhp5sgmfr16n97skl";
|
sha256 = "1l5cb1gp6wgpc9vq6sx021qs6zb0nxg3cn1ba00hjhgnrw4931b8";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
configureFlags = [
|
||||||
|
"--with-systemdsystemunitdir=$(out)/etc/systemd/system"
|
||||||
|
];
|
||||||
|
|
||||||
buildInputs = [ pkgconfig dbus libcap ];
|
buildInputs = [ pkgconfig dbus libcap ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = http://0pointer.de/blog/projects/rtkit;
|
homepage = http://0pointer.de/blog/projects/rtkit;
|
||||||
descriptions = "A daemon that hands out real-time priority to processes";
|
descriptions = "A daemon that hands out real-time priority to processes";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue