dend: wip home

This commit is contained in:
2026-03-27 18:49:27 +01:00
parent bb919f666b
commit a5c8c05c7c
40 changed files with 1463 additions and 11 deletions

View File

@@ -1,7 +1,10 @@
{
{self, ...}: {
flake.overlays.bulk-transcode = final: prev: {
bulk-transcode = final.callPackage ./_derivation.nix {};
};
flake.nixosModules.bulk-transcode-overlay = {
nixpkgs.overlays = [self.overlays.bulk-transcode];
};
perSystem = {pkgs, ...}: {
packages.bulk-transcode = pkgs.callPackage ./_derivation.nix {};
devShells.bulk-transcode = import ./_shell.nix {inherit pkgs;};

View File

@@ -1,52 +0,0 @@
{
stdenv,
lib,
fetchFromGitHub,
gitUpdater,
kdeclarative,
libplasma,
plasma-workspace,
}:
stdenv.mkDerivation {
pname = "layan-kde-qt6";
version = "2025-02-13";
src = fetchFromGitHub {
owner = "vinceliuice";
repo = "Layan-kde";
rev = "ace0b1d93e5f08c650630c146b2d637e1e2e6cd1";
hash = "sha256-T69bGjfZeOsJLmOZKps9N2wMv5VKYeo1ipGEsLAS+Sg=";
};
# Propagate sddm theme dependencies to user env otherwise sddm does
# not find them. Putting them in buildInputs is not enough.
propagatedUserEnvPkgs = [
kdeclarative
libplasma
plasma-workspace
];
postPatch = ''
patchShebangs install.sh
substituteInPlace install.sh \
--replace '$HOME/.local' $out \
--replace '$HOME/.config' $out/share
'';
installPhase = ''
runHook preInstall
name= ./install.sh --dest $out/share/themes
runHook postInstall
'';
passthru.updateScript = gitUpdater {};
meta = with lib; {
description = "Flat Design theme for KDE Plasma desktop";
homepage = "https://github.com/vinceliuice/Layan-kde";
license = licenses.gpl3Only;
platforms = platforms.all;
};
}

View File

@@ -1,8 +0,0 @@
{
flake.overlays.layan-qt6 = final: prev: {
crossover = final.callPackage ./_derivation.nix {};
};
perSystem = {pkgs, ...}: {
packages.layan-qt6 = pkgs.callPackage ./_derivation.nix {};
};
}