[NixOS] Fix clipit systemd issues

This commit is contained in:
Ivan Malison 2018-06-25 18:28:04 -07:00
parent 103ba029a5
commit 87e9060a2b
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8
3 changed files with 4 additions and 14 deletions

View File

@ -6,7 +6,7 @@ After=taffybar.service
[Service]
Type=simple
ExecStart=/usr/bin/env clipit
ExecStop=/usr/bin/pkill clipit
ExecStop=/usr/bin/env pkill clipit
[Install]
WantedBy=wm.target

View File

@ -1,11 +0,0 @@
[Unit]
Description=imwheel
[Service]
Type=simple
ExecStart=/usr/bin/env imwheel -b 45
ExecStop=/usr/bin/pkill imwheel
RemainAfterExit=yes
[Install]
WantedBy=wm.target

View File

@ -21,13 +21,13 @@ let
propagatedBuildInputs = oldAttrs.propagatedBuildInputs ++ [pkgs.libappindicator-gtk3];
});
clipit-master = pkgs.clipit.overrideAttrs (oldAttrs: rec {
version = "9741c39382a3f6e4c03eac6905a49794d07c465a";
version = "45e46d03b3ff315b5b380004d85fb499b4c139db";
preConfigure = "./autogen.sh";
configureFlags = ["--with-gtk3" "--enable-appindicator"];
src = pkgs.fetchFromGitHub {
owner = "IvanMalison";
repo = "ClipIt";
sha256 = "13lddvbsp16nir9ibllr403qxhwyh4h2bh6774icbb250pghykjx";
sha256 = "13myjcc95x1957p92j28kfm6xngwg3bw5ifmvdaddz6pzfddd40h";
rev = version;
};
buildInputs = with pkgs; [
@ -181,6 +181,7 @@ in
binutils
dfeet
gcc
gdb
gitFull
git-sync
gnumake