about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/misc/system76-keyboard-configurator/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/applications/misc/system76-keyboard-configurator/default.nix')
-rw-r--r--nixpkgs/pkgs/applications/misc/system76-keyboard-configurator/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/applications/misc/system76-keyboard-configurator/default.nix b/nixpkgs/pkgs/applications/misc/system76-keyboard-configurator/default.nix
index 21cec72c5f80..737c713fb79c 100644
--- a/nixpkgs/pkgs/applications/misc/system76-keyboard-configurator/default.nix
+++ b/nixpkgs/pkgs/applications/misc/system76-keyboard-configurator/default.nix
@@ -30,6 +30,11 @@ rustPlatform.buildRustPackage rec {
 
   cargoHash = "sha256-S4+cS4m69nqDN2h0vwyO35fFFBEa0Rcxx0XDBfSNLp0=";
 
+  postInstall = ''
+    install -Dm444 linux/com.system76.keyboardconfigurator.desktop -t $out/share/applications
+    cp -r data/icons $out/share
+  '';
+
   meta = with lib; {
     description = "Keyboard configuration application for System76 keyboards and laptops";
     homepage = "https://github.com/pop-os/keyboard-configurator";