From 682ce9c22a7f531944a279a2cd62ae0f7c28feba Mon Sep 17 00:00:00 2001 From: "Alexander \"PapaTutuWawa" Date: Sun, 22 Aug 2021 21:52:33 +0200 Subject: [PATCH] hardware: Add rtkit --- modules/hardware/desktop.nix | 7 +++++++ modules/hardware/generic.nix | 1 + 2 files changed, 8 insertions(+) create mode 100644 modules/hardware/desktop.nix diff --git a/modules/hardware/desktop.nix b/modules/hardware/desktop.nix new file mode 100644 index 0000000..20cc913 --- /dev/null +++ b/modules/hardware/desktop.nix @@ -0,0 +1,7 @@ +{ pkgs, ... }: + +{ + environment.systemPackages = with pkgs; [ piper ]; + + services.ratbagd.enable = true; +} diff --git a/modules/hardware/generic.nix b/modules/hardware/generic.nix index 0781fbe..eade124 100644 --- a/modules/hardware/generic.nix +++ b/modules/hardware/generic.nix @@ -1,6 +1,7 @@ { lib, pkgs, ... }: { + environment.systemPackages = [ pkgs.rtkit ]; # NOTE: This assumes that the devices are x86_64 (cough i686 UEFI cough) hardware = { enableRedistributableFirmware = true;