nix/pkgs/sddm-i3-theme.nix
2024-07-04 01:14:24 +02:00

25 lines
465 B
Nix

{
lib,
stdenv,
fetchzip,
}:
stdenv.mkDerivation rec {
pname = "sddm-i3-theme";
version = "1";
src = fetchzip {
# lol
url = "http://192.168.1.12/${pname}.tar.gz";
hash = "sha256-WGvjW3Z8TfJhAsbxUyYRKSYFucEwYzTIbpDZsLTPbyo=";
};
installPhase = ''
mkdir -p $out/share/sddm/themes/${pname}/
cp -r $src/* $out/share/sddm/themes/${pname}/
'';
meta = {
license = lib.licenses.mit;
platforms = lib.platforms.linux;
};
}