about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2022-09-10 21:24:33 +0200
committerBaitinq <manuelpalenzuelamerino@gmail.com>2022-09-10 21:24:33 +0200
commit330454191d26154b239a1cc995ca105a5d1c3155 (patch)
tree0be0726c869c91d161cc99d18de9440ab20b00e5
parentPackages: Remove mov-cli (diff)
downloadnixos-config-330454191d26154b239a1cc995ca105a5d1c3155.tar.gz
nixos-config-330454191d26154b239a1cc995ca105a5d1c3155.tar.bz2
nixos-config-330454191d26154b239a1cc995ca105a5d1c3155.zip
Packages: Remove smart-wallpaper
Already included in nixpkgs
-rw-r--r--hosts/home.nix2
-rw-r--r--packages/default.nix1
-rw-r--r--packages/smart-wallpaper/default.nix19
3 files changed, 1 insertions, 21 deletions
diff --git a/hosts/home.nix b/hosts/home.nix
index 8c25e88..1710a08 100644
--- a/hosts/home.nix
+++ b/hosts/home.nix
@@ -35,9 +35,9 @@
       dwmbar
       manga-cli
       mov-cli
+      smart-wallpaper
     ] ++
     (with pkgs.custom; [
-      smart-wallpaper
       lemacs
     ]);
   };
diff --git a/packages/default.nix b/packages/default.nix
index cb9ec38..50ece2e 100644
--- a/packages/default.nix
+++ b/packages/default.nix
@@ -1,7 +1,6 @@
 final: prev:
 {
   custom = {
-    smart-wallpaper = prev.callPackage ./smart-wallpaper { };
     adl = prev.callPackage ./adl { };
     kindlegen = prev.callPackage ./kindlegen { };
     xmonadctl = prev.callPackage ./xmonadctl { };
diff --git a/packages/smart-wallpaper/default.nix b/packages/smart-wallpaper/default.nix
deleted file mode 100644
index 14895af..0000000
--- a/packages/smart-wallpaper/default.nix
+++ /dev/null
@@ -1,19 +0,0 @@
-{ stdenv, lib, fetchFromGitHub, makeWrapper, bash, xdpyinfo, killall, xwinwrap }:
-stdenv.mkDerivation {
-  pname = "smart-wallpaper";
-  version = "1.0";
-  src = fetchFromGitHub {
-    owner = "Baitinq";
-    repo = "smart-wallpaper";
-    rev = "154acddeb4b63c19beacc6a68248dd02797d9cca";
-    sha256 = "sha256-fRK3N+UnBPXpvx4Z64JC5TstUi//l5jtrm+rFDxIQUs=";
-  };
-  buildInputs = [ bash ];
-  nativeBuildInputs = [ makeWrapper ];
-  installPhase = ''
-    mkdir -p $out/bin
-    cp smart-wallpaper $out/bin/smart-wallpaper  
-    wrapProgram $out/bin/smart-wallpaper \
-      --prefix PATH : ${lib.makeBinPath [ bash xdpyinfo killall xwinwrap ]}
-  '';
-}