nix/pkgs/sddm-i3-theme.nix

26 lines
465 B
Nix
Raw Normal View History

2024-07-04 01:14:24 +02:00
{
lib,
stdenv,
fetchzip,
}:
2024-06-21 17:54:41 +02:00
stdenv.mkDerivation rec {
2024-07-04 01:14:24 +02:00
pname = "sddm-i3-theme";
version = "1";
2024-06-21 17:54:41 +02:00
2024-07-04 01:14:24 +02:00
src = fetchzip {
# lol
url = "http://192.168.1.12/${pname}.tar.gz";
hash = "sha256-WGvjW3Z8TfJhAsbxUyYRKSYFucEwYzTIbpDZsLTPbyo=";
};
2024-06-21 17:54:41 +02:00
2024-07-04 01:14:24 +02:00
installPhase = ''
mkdir -p $out/share/sddm/themes/${pname}/
cp -r $src/* $out/share/sddm/themes/${pname}/
'';
2024-06-21 17:54:41 +02:00
2024-07-04 01:14:24 +02:00
meta = {
license = lib.licenses.mit;
platforms = lib.platforms.linux;
};
2024-06-21 17:54:41 +02:00
}