this repo has no description
4
fork

Configure Feed

Select the types of activity you want to include in your feed.

add obsidian

+15 -393
-208
pkgs-set/overlays/discord-system-electron.nix
··· 1 - final: prev: rec { 2 - discord-system-electron = 3 - prev.callPackage 4 - mkDiscord 5 - rec { 6 - pname = "discord"; 7 - version = "0.0.17"; 8 - binaryName = "Discord"; 9 - desktopName = "Discord"; 10 - src = 11 - prev.fetchurl 12 - { 13 - url = "https://dl.discordapp.net/apps/linux/${version}/discord-${version}.tar.gz"; 14 - sha256 = "sha256-NGJzLl1dm7dfkB98pQR3gv4vlldrII6lOMWTuioDExU="; 15 - }; 16 - isWayland = true; 17 - enableVulkan = false; 18 - extraOptions = [ 19 - "--ignore-gpu-blocklist" 20 - "--enable-gpu-rasterization" 21 - "--enable-zero-copy" 22 - "--disable-gpu-driver-bug-workarounds" 23 - ]; 24 - electron = prev.electron_15; 25 - }; 26 - mkDiscord = { 27 - pname, 28 - version, 29 - src, 30 - binaryName, 31 - desktopName, 32 - isWayland ? false, 33 - enableVulkan ? false, 34 - extraOptions ? [], 35 - autoPatchelfHook, 36 - makeDesktopItem, 37 - lib, 38 - stdenv, 39 - wrapGAppsHook, 40 - alsaLib, 41 - at-spi2-atk, 42 - at-spi2-core, 43 - atk, 44 - cairo, 45 - cups, 46 - dbus, 47 - electron, 48 - expat, 49 - fontconfig, 50 - freetype, 51 - gdk-pixbuf, 52 - glib, 53 - gtk3, 54 - libcxx, 55 - libdrm, 56 - libnotify, 57 - libpulseaudio, 58 - libuuid, 59 - libX11, 60 - libXScrnSaver, 61 - libXcomposite, 62 - libXcursor, 63 - libXdamage, 64 - libXext, 65 - libXfixes, 66 - libXi, 67 - libXrandr, 68 - libXrender, 69 - libXtst, 70 - libxcb, 71 - mesa, 72 - nspr, 73 - nss, 74 - pango, 75 - systemd, 76 - libappindicator-gtk3, 77 - libdbusmenu, 78 - nodePackages, 79 - vulkan-loader, 80 - vulkan-extension-layer, 81 - libGL, 82 - pipewire, 83 - }: 84 - stdenv.mkDerivation 85 - rec { 86 - inherit pname version src; 87 - nativeBuildInputs = [ 88 - nodePackages.asar 89 - alsaLib 90 - autoPatchelfHook 91 - cups 92 - libdrm 93 - libuuid 94 - libXdamage 95 - libX11 96 - libXScrnSaver 97 - libXtst 98 - libxcb 99 - mesa.drivers 100 - nss 101 - wrapGAppsHook 102 - ]; 103 - dontWrapGApps = true; 104 - libPath = 105 - lib.makeLibraryPath 106 - [ 107 - libcxx 108 - systemd 109 - libpulseaudio 110 - stdenv.cc.cc 111 - alsaLib 112 - atk 113 - at-spi2-atk 114 - at-spi2-core 115 - cairo 116 - cups 117 - dbus 118 - expat 119 - fontconfig 120 - freetype 121 - gdk-pixbuf 122 - glib 123 - gtk3 124 - libnotify 125 - libX11 126 - libXcomposite 127 - libuuid 128 - libXcursor 129 - libXdamage 130 - libXext 131 - libXfixes 132 - libXi 133 - libXrandr 134 - libXrender 135 - libXtst 136 - nspr 137 - nss 138 - libxcb 139 - pango 140 - systemd 141 - libXScrnSaver 142 - libappindicator-gtk3 143 - libdbusmenu 144 - vulkan-loader 145 - vulkan-extension-layer 146 - libGL 147 - pipewire 148 - ]; 149 - flags = 150 - ( 151 - lib.optionals 152 - isWayland 153 - [ 154 - "--flag-switches-begin" 155 - "--enable-features=UseOzonePlatform,WebRTCPipeWireCapturer${ 156 - lib.optionalString enableVulkan ",Vulkan" 157 - }" 158 - "--flag-switches-end" 159 - "--ozone-platform=wayland" 160 - "--enable-webrtc-pipewire-capturer" 161 - ] 162 - ) 163 - ++ extraOptions; 164 - installPhase = '' 165 - mkdir -p $out/{bin,usr/lib/${pname},share/pixmaps} 166 - ln -s discord.png $out/share/pixmaps/${pname}.png 167 - ln -s "${desktopItem}/share/applications" $out/share/ 168 - 169 - # HACKS FOR SYSTEM ELECTRON 170 - asar e resources/app.asar resources/app 171 - rm resources/app.asar 172 - sed -i "s|process.resourcesPath|'$out/usr/lib/${pname}'|" resources/app/app_bootstrap/buildInfo.js 173 - sed -i "s|exeDir,|'$out/share/pixmaps',|" resources/app/app_bootstrap/autoStart/linux.js 174 - asar p resources/app resources/app.asar --unpack-dir '**' 175 - rm -rf resources/app 176 - 177 - # Copy Relevanat data 178 - cp -r resources/* $out/usr/lib/${pname}/ 179 - 180 - # Create starter script for discord 181 - echo "#!${stdenv.shell}" > $out/bin/${pname} 182 - echo "exec ${electron}/bin/electron ${lib.concatStringsSep " " flags} $out/usr/lib/${pname}/app.asar \$@" >> $out/bin/${pname} 183 - chmod 755 $out/bin/${pname} 184 - 185 - wrapProgram $out/bin/${pname} \ 186 - "''${gappsWrapperArgs[@]}" \ 187 - --prefix XDG_DATA_DIRS : "${gtk3}/share/gsettings-schemas/${gtk3.name}/" \ 188 - --prefix LD_LIBRARY_PATH : ${libPath} 189 - ''; 190 - desktopItem = 191 - makeDesktopItem 192 - { 193 - name = pname; 194 - exec = pname; 195 - icon = pname; 196 - inherit desktopName; 197 - genericName = meta.description; 198 - categories = ["Network" "InstantMessaging"]; 199 - mimeTypes = ["x-scheme-handler/discord"]; 200 - }; 201 - meta = with lib; { 202 - description = "All-in-one cross-platform voice and text chat for gamers"; 203 - homepage = "https://discordapp.com/"; 204 - downloadPage = "https://discordapp.com/download"; 205 - platforms = ["x86_64-linux"]; 206 - }; 207 - }; 208 - }
+12
pkgs-set/overlays/obsidian.nix
··· 1 + final: prev: { 2 + obsidian = prev.obsidian.overrideAttrs (old: { 3 + installPhase = 4 + prev.lib.replaceStrings 5 + ["makeWrapper ${final.electron_17}/bin/electron $out/bin/obsidian"] 6 + [ 7 + ''makeWrapper ${final.electron_20}/bin/electron $out/bin/obsidian \ 8 + --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform=wayland}}"'' 9 + ] 10 + old.installPhase; 11 + }); 12 + }
+2 -4
pkgs-set/pkgs-to-export.nix
··· 1 1 pkgs: ( 2 2 pkgs.lib.getAttrs 3 3 [ 4 - "discord-system-electron" 5 4 "fractal-next" 6 - "gamescope" 7 - "gaudible" 8 - "abaddon" 5 + "obsidian" 6 + "comic-mono" 9 7 ] 10 8 pkgs 11 9 )
-42
pkgs-set/pkgs/abaddon.nix
··· 1 - { 2 - stdenv, 3 - fetchFromGitHub, 4 - gtkmm3, 5 - sqlite, 6 - openssl, 7 - curlWithGnuTls, 8 - nlohmann_json, 9 - pkg-config, 10 - cmake, 11 - ... 12 - }: 13 - stdenv.mkDerivation rec { 14 - pname = "abaddon"; 15 - version = "ccf5afbba959068f34897b75afcd25c65c96d79c"; 16 - 17 - src = fetchFromGitHub { 18 - owner = "uowuo"; 19 - repo = pname; 20 - rev = version; 21 - sha256 = "sha256-PKEly2yBM6UKNi/XEEUvbpTmvNSNJM1lUVMovCHgi50="; 22 - fetchSubmodules = true; 23 - }; 24 - 25 - nativeBuildInputs = [ 26 - pkg-config 27 - cmake 28 - ]; 29 - 30 - buildInputs = [ 31 - gtkmm3.dev 32 - curlWithGnuTls.dev 33 - sqlite.dev 34 - openssl 35 - nlohmann_json 36 - ]; 37 - 38 - configurePhase = "mkdir build && cd build && cmake .."; 39 - installPhase = "mkdir -p $out/bin && mv abaddon $out/bin/abaddon"; 40 - 41 - doCheck = false; 42 - }
-104
pkgs-set/pkgs/gamescope.nix
··· 1 - { 2 - lib, 3 - stdenv, 4 - fetchFromGitHub, 5 - meson, 6 - pkgconfig, 7 - libdrm, 8 - xorg, 9 - wayland, 10 - wayland-protocols, 11 - libxkbcommon, 12 - libcap, 13 - SDL2, 14 - mesa, 15 - libinput, 16 - pixman, 17 - xcbutilerrors, 18 - xcbutilwm, 19 - glslang, 20 - ninja, 21 - makeWrapper, 22 - xwayland, 23 - libuuid, 24 - xcbutilrenderutil, 25 - pipewire, 26 - stb, 27 - writeText, 28 - wlroots, 29 - vulkan-loader, 30 - vulkan-headers, 31 - libseat, 32 - ... 33 - }: let 34 - stbpc = writeText "stbpc" '' 35 - prefix=${stb} 36 - includedir=''${prefix}/include/stb 37 - Cflags: -I''${includedir} 38 - Name: stb 39 - Version: ${stb.version} 40 - Description: stb 41 - ''; 42 - stb_ = stb.overrideAttrs (oldAttrs: rec { 43 - installPhase = '' 44 - ${oldAttrs.installPhase} 45 - install -Dm644 ${stbpc} $out/lib/pkgconfig/stb.pc 46 - ''; 47 - }); 48 - in 49 - stdenv.mkDerivation rec { 50 - pname = "gamescope"; 51 - version = "3.11.30"; 52 - 53 - src = fetchFromGitHub { 54 - owner = "Plagman"; 55 - repo = "gamescope"; 56 - rev = version; 57 - sha256 = "sha256-dSQrOlQfUZkA8Vrc/Tj9dAWIIBOeb+tAen21fZe3Gto="; 58 - fetchSubmodules = true; 59 - }; 60 - 61 - postInstall = '' 62 - wrapProgram $out/bin/gamescope \ 63 - --prefix PATH : "${lib.makeBinPath [xwayland]}" 64 - ''; 65 - 66 - buildInputs = with xorg; [ 67 - libX11 68 - libXdamage 69 - libXcomposite 70 - libXrender 71 - libXext 72 - libXxf86vm 73 - libXtst 74 - libdrm 75 - vulkan-loader 76 - wayland 77 - wayland-protocols 78 - libxkbcommon 79 - libcap 80 - SDL2 81 - mesa 82 - libinput 83 - pixman 84 - xcbutilerrors 85 - xcbutilwm 86 - libXi 87 - libXres 88 - libuuid 89 - xcbutilrenderutil 90 - xwayland 91 - pipewire 92 - wlroots 93 - libseat 94 - ]; 95 - nativeBuildInputs = [meson pkgconfig glslang ninja makeWrapper stb_]; 96 - 97 - meta = with lib; { 98 - description = "The micro-compositor formerly known as steamcompmgr"; 99 - license = licenses.bsd2; 100 - homepage = src.meta.homepage; 101 - platforms = platforms.linux; 102 - maintainers = with maintainers; []; 103 - }; 104 - }
-34
pkgs-set/pkgs/gaudible.nix
··· 1 - { 2 - python3, 3 - python3Packages, 4 - pulseaudio, 5 - stdenv, 6 - ... 7 - }: 8 - stdenv.mkDerivation { 9 - pname = "gaudible"; 10 - version = "master"; 11 - 12 - src = builtins.fetchGit { 13 - url = "https://github.com/dbazile/gaudible.git"; 14 - rev = "ccd4ac14589f061c60217fe22120db8786898e4b"; 15 - ref = "refs/heads/master"; 16 - shallow = true; 17 - }; 18 - 19 - buildInputs = [ 20 - python3Packages.pygobject3 21 - python3Packages.dbus-python 22 - ]; 23 - 24 - installPhase = '' 25 - mkdir -p $out/bin 26 - chmod +x gaudible.py 27 - cp gaudible.py $out/bin/gaudible 28 - ''; 29 - fixupPhase = '' 30 - substituteInPlace $out/bin/gaudible \ 31 - --replace "/usr/bin/paplay" "${pulseaudio}/bin/paplay" \ 32 - --replace "/bin/env python3" "${python3}/bin/python" 33 - ''; 34 - }
+1 -1
users/patriot/default.nix
··· 172 172 cloudflared 173 173 lutris 174 174 protontricks 175 - inputs.fufexan.packages.${system}.gamescope 175 + obsidian 176 176 ]; 177 177 }; 178 178 programs = {