diff --git a/configuration.nix b/configuration.nix index 7964e7e..246803f 100644 --- a/configuration.nix +++ b/configuration.nix @@ -2,6 +2,50 @@ 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; + }; + }; in { imports = @@ -23,6 +67,8 @@ in bitwig-studio kleopatra + waypaper + swww wine64 wineWow64Packages.stagingFull winetricks @@ -30,7 +76,6 @@ in yabridgectl - wget git neofetch @@ -101,9 +146,10 @@ in displayManager.defaultSession = "plasma"; }; programs.dconf.enable = true; - #home-manager.users.lzc256 = { - # home.stateVersion = "23.11"; - #}; + home-manager.users.lzc256 = { + home.stateVersion = "23.11"; + + }; # services.displayManager.sddm.enable = true; # services.xserver.desktopManager.plasma5.enable = true; diff --git a/push.sh b/push.sh index 5e2b07e..cd965f6 100755 --- a/push.sh +++ b/push.sh @@ -1,5 +1,5 @@ #!/run/current-system/sw/bin/bash -git add . -git commit -m "Auto Push" -git push +sudo git add . +sudo git commit -m "Auto Push" +sudo git push