nixos/pkgs/sddm-theme/default.nix

20 lines
466 B
Nix

{ pkgs ? import <nixpkgs> { }, fetchFromGitHub }:
pkgs.stdenv.mkDerivation {
pname = "sddm-theme";
version = "1.6";
dontBuild = true;
installPhase = ''
mkdir -p $out/share/sddm/themes
cp -aR $src $out/share/sddm/themes/sugar-candy
touch $out/share/sddm/themes/balls
'';
src = fetchFromGitHub {
owner = "Kangie";
repo = "sddm-sugar-candy";
rev = "v1.6";
sha256 = "sha256-p2d7I0UBP63baW/q9MexYJQcqSmZ0L5rkwK3n66gmqM=";
};
}