refactor: delete some stuff

This commit is contained in:
matt1432 2023-08-26 14:24:40 -04:00
parent 8bfe730810
commit 3a5e679398
4 changed files with 34 additions and 68 deletions

View file

@ -4,7 +4,6 @@
nixpkgs.overlays = [
(import ./swayosd.nix)
(import ./blueberry.nix)
(import ./tutanota-desktop.nix)
(final: prev: {
input-emulator = final.callPackage ./pkgs/input-emulator.nix {};
@ -18,6 +17,10 @@
dracula-plymouth = final.callPackage ./pkgs/dracula-plymouth.nix {};
})
(final: prev: {
lavanda-sddm = final.callPackage ./pkgs/lavanda-sddm.nix {};
})
(final: prev: {
coloryou = final.callPackage ./pkgs/coloryou/default.nix {};
})

View file

@ -0,0 +1,30 @@
### test package
{ lib
, stdenv
, fetchFromGitHub
, pkgs
}:
stdenv.mkDerivation {
name = "lavanda-kde";
version = "unstable-2022-08-24";
src = fetchFromGitHub {
repo = "Lavanda-kde";
owner = "vinceliuice";
rev = "f247e5c0078df64fdee2c74d27baf479f025001e";
hash = "sha256-hLP4Ye3lRKSCk9I+PguAWhlHUDvIqRlRazXyOccPerQ=";
};
dontConfigure = true;
dontBuild = true;
installPhase = ''
runHook preInstall
mkdir -p $out/share/sddm/themes/
mv ./sddm/* $out/share/sddm/themes/
runHook postInstall
'';
}

View file

@ -1,51 +0,0 @@
### test package
{ lib
, stdenv
, fetchFromGitHub
, pkgs
}:
let
wallpaper = fetchFromGitHub {
repo = "wallpaper";
owner = "dracula";
rev = "3bd5b95d4ae08d2adfb2931e090bb657fd9a6a4f";
hash = "sha256-3p7PCMZHIytkOH3BBUMqaYBFcrSef3YHthyJY6KDArg=";
};
in
stdenv.mkDerivation {
name = "utterly-sddm";
version = "unstable-2022-11-06";
src = fetchFromGitHub {
repo = "Utterly-Sweet-Plasma";
owner = "HimDek";
rev = "4bb007e865d559de8dd43bbffb93778ea136f957";
hash = "sha256-oEyf6FI5XSjXPZjzBiGypwZY89ulhwAwk9QIJ3pMw/M=";
};
dontConfigure = true;
dontBuild = true;
installPhase = ''
runHook preInstall
rm ./sddm/background.jpg
cp ${wallpaper}/first-collection/nixos.png ./sddm/background.jpg
mkdir -p $out/share/sddm/themes/Utterly-Sweet
mv ./sddm/* $out/share/sddm/themes/Utterly-Sweet
runHook postInstall
'';
meta = with lib; {
description = "A dark theme for SDDM";
homepage = "https://github.com/dracula/gtk";
maintainers = with maintainers; [ matt1432 ];
platforms = platforms.all;
};
}

View file

@ -1,16 +0,0 @@
final: prev: {
tutanota-desktop = prev.tutanota-desktop.overrideAttrs (oldAttrs: rec {
pname = "tutanota-desktop";
version = "3.116.8";
src = prev.fetchurl {
url = "https://github.com/tutao/tutanota/releases/download/tutanota-desktop-release-${version}/${pname}-${version}-unpacked-linux.tar.gz";
name = "tutanota-desktop-${version}.tar.gz";
sha256 = "sha256-HY0LdiHz8G/v8/zEglRtoDyPFMhMj1Zrc0zpQNJpWr0=";
};
patches = [];
});
}