35 lines
786 B
Nix
Executable file
35 lines
786 B
Nix
Executable file
{ pkgs }:
|
|
|
|
let
|
|
#image = pkgs.fetchurl {
|
|
# url = "https://";
|
|
# sha256 = "";
|
|
#};
|
|
in
|
|
pkgs.stdenv.mkDerivation {
|
|
name = "sddm-theme";
|
|
src = pkgs.fetchFromGitHub {
|
|
owner = "MarianArlt";
|
|
repo = "sddm-sugar-dark";
|
|
rev = "ceb2c455663429be03ba62d9f898c571650ef7fe";
|
|
sha256 = "0153z1kylbhc9d12nxy9vpn0spxgrhgy36wy37pk6ysq7akaqlvy";
|
|
};
|
|
# dependencies
|
|
buildInputs = with pkgs.libsForQt5; [
|
|
qt5.qtbase
|
|
qt5.qtx11extras
|
|
qt5.qtquickcontrols2
|
|
qt5.qtgraphicaleffects
|
|
qt5.wrapQtAppsHook
|
|
#libsForQt5.qt5.qtquickcontrols2
|
|
#libsForQt5.qt5.qtgraphicaleffects
|
|
];
|
|
installPhase = ''
|
|
# move necessary files
|
|
mkdir -p $out
|
|
cp -R ./* $out/
|
|
'';
|
|
# set background
|
|
#rm $out/Background.jpg
|
|
#mv ${image} $out/Background.jpg
|
|
}
|