da first commit

This commit is contained in:
Emile Clark-Boman 2024-10-30 13:51:36 +10:00
commit 68f969ec59
14 changed files with 875 additions and 0 deletions

View file

@ -0,0 +1,35 @@
{ 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
}