diff --git a/configuration.nix b/configuration.nix index 74d498b..e543774 100644 --- a/configuration.nix +++ b/configuration.nix @@ -2,50 +2,10 @@ let home-manager = builtins.fetchTarball "https://github.com/nix-community/home-manager/archive/master.tar.gz"; - glslang-submodule = with pkgs; stdenv.mkDerivation { - name = "glslang"; - installPhase = '' - mkdir -p $out - ''; - src = fetchFromGitHub { - owner = "KhronosGroup"; - repo = "glslang"; - rev = "c34bb3b6c55f6ab084124ad964be95a699700d34"; - sha256 = "IMROcny+b5CpmzEfvKBYDB0QYYvqC5bq3n1S4EQ6sXc="; - }; - }; - wallpaper-engine-kde-plugin = with pkgs; stdenv.mkDerivation rec { - pname = "wallpaperEngineKde"; - version = "91d8e25c0c94b4919f3d110c1f22727932240b3c"; - src = fetchFromGitHub { - owner = "Jelgnum"; - repo = "wallpaper-engine-kde-plugin"; - rev = version; - hash = "sha256-ff3U/TXr9umQeVHiqfEy38Wau5rJuMeJ3G/CZ9VE++g="; - fetchSubmodules = true; - }; - nativeBuildInputs = [ - cmake extra-cmake-modules glslang-submodule pkg-config gst_all_1.gst-libav shaderc - ]; - buildInputs = [ - mpv lz4 vulkan-headers vulkan-tools vulkan-loader - ] - ++ (with libsForQt5; with qt5; [plasma-framework qtwebsockets qtwebchannel qtx11extras qtdeclarative]) - ++ [(python3.withPackages (python-pkgs: [ python-pkgs.websockets ]))]; - cmakeFlags = [ "-DUSE_PLASMAPKG=ON" ]; - dontWrapQtApps = true; - postPatch = '' - rm -rf src/backend_scene/third_party/glslang - ln -s ${glslang-submodule.src} src/backend_scene/third_party/glslang - ''; - #Optional informations - meta = with lib; { - description = "Wallpaper Engine KDE plasma plugin"; - homepage = "https://github.com/Jelgnum/wallpaper-engine-kde-plugin"; - license = licenses.gpl2Plus; - platforms = platforms.linux; - }; - }; + pkgs = import (builtins.fetchTarball { + url = "https://github.com/NixOS/nixpkgs/archive/459104f841356362bfb9ce1c788c1d42846b2454.tar.gz"; + }) {}; + in { imports = @@ -70,9 +30,7 @@ in waypaper wallutils - wineWowPackages.staging - wineWowPackages.unstableFull - wineWowPackages.waylandFull + wine64Packages.staging winePackages.fonts