From f1c8b50bdf0987a9e17fd69c647978c7423506e5 Mon Sep 17 00:00:00 2001 From: "Alexander \"PapaTutuWawa" Date: Sun, 24 Oct 2021 13:29:54 +0200 Subject: [PATCH] mashu: Fix phosh not recognizing the volume keys and backlight --- hosts/mashu.nix | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/hosts/mashu.nix b/hosts/mashu.nix index b42d588..e686933 100644 --- a/hosts/mashu.nix +++ b/hosts/mashu.nix @@ -50,6 +50,26 @@ in mkHost config { }; services.gnome.gnome-settings-daemon.enable = true; + systemd.user.services = { + gsd-media = { + description = "GSD media keys handling"; + wantedBy = [ "default.target" ]; + serviceConfig = { + Type = "simple"; + ExecStart = "${pkgs.gnome.gnome-settings-daemon}/libexec/gsd-media-keys"; + Restart = "always"; + }; + }; + gsd-power = { + description = "GSD media keys handling"; + wantedBy = [ "default.target" ]; + serviceConfig = { + Type = "simple"; + ExecStart = "${pkgs.gnome.gnome-settings-daemon}/libexec/gsd-power"; + Restart = "always"; + }; + }; + }; programs.phosh = { enable = true; phocConfig = {