lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 23.05-pre 29 lines 1.0 kB view raw
1{ lib, buildGoPackage, fetchFromGitHub }: 2 3# To use upower-notify, the maintainer suggests adding something like this to your configuration.nix: 4# 5# service.xserver.displayManager.sessionCommands = '' 6# ${pkgs.dunst}/bin/dunst -shrink -geometry 0x0-50-50 -key space & # ...if don't already have a dbus notification display app 7# (sleep 3; exec ${pkgs.yeshup}/bin/yeshup ${pkgs.go-upower-notify}/bin/upower-notify) & 8# ''; 9buildGoPackage rec { 10 pname = "upower-notify"; 11 version = "unstable-2016-03-10"; 12 13 goPackagePath = "github.com/omeid/upower-notify"; 14 15 src = fetchFromGitHub { 16 owner = "omeid"; 17 repo = "upower-notify"; 18 rev = "14c581e683a7e90ec9fa6d409413c16599a5323c"; 19 sha256 = "16zlvn53p9m10ph8n9gps51fkkvl6sf4afdzni6azk05j0ng49jw"; 20 }; 21 22 goDeps = ./deps.nix; 23 24 meta = with lib; { 25 description = "simple tool to give you Desktop Notifications about your battery"; 26 homepage = "https://github.com/omeid/upower-notify"; 27 maintainers = with maintainers; [ kamilchm ]; 28 }; 29}