nix/files/sddm-i3-theme/theme.nix

21 lines
480 B
Nix
Raw Normal View History

2024-08-01 22:51:57 +02:00
{ lib, stdenv, fetchzip }:
stdenv.mkDerivation rec {
pname = "sddm-i3-theme";
version = "1";
src = fetchzip {
url = "http://192.168.1.12/${pname}.tar.gz";
hash = "sha256-587c+T7SflqYshPxRRcVD4xmY2pc4UBw+bYJQm04ZjU=";
};
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;
};
}