2021-11-01 20:33:21 +00:00
|
|
|
final: prev:
|
2021-07-29 20:21:51 +00:00
|
|
|
|
2021-08-24 16:15:26 +00:00
|
|
|
let
|
2021-11-01 20:33:21 +00:00
|
|
|
pySmartDL = prev.callPackage ./development/python/pySmartDL {};
|
|
|
|
cfscrape = prev.callPackage ./development/python/cfscrape {};
|
|
|
|
discord-system-electron = prev.callPackage ./applications/networking/instant-messengers/discord {
|
2021-08-26 17:15:53 +00:00
|
|
|
# Wayland
|
|
|
|
# NOTE: electron under Wayland has no window titlebars
|
2021-10-22 19:40:21 +00:00
|
|
|
extraStartupArgs = "--enable-features=UseOzonePlatform --ozone-platform=wayland";
|
2021-09-20 09:40:49 +00:00
|
|
|
#extraStartupArgs = "--enable-features=UseOzonePlatform --ozone-platform=wayland --enable-features=WebRTCPipeWireCapturer";
|
2021-08-26 17:15:53 +00:00
|
|
|
};
|
2021-11-01 20:33:21 +00:00
|
|
|
wrapInSandbox = prev.callPackage ./sandbox.nix {};
|
2021-11-15 22:40:07 +00:00
|
|
|
in {
|
|
|
|
key-mapper = prev.callPackage ./tools/games/key-mapper {};
|
2021-11-01 20:33:21 +00:00
|
|
|
vfio-isolate = prev.callPackage ./tools/virtualisation/vfio-isolate {};
|
|
|
|
mopidy-funkwhale = prev.callPackage ./applications/audio/mopidy/funkwhale.nix {};
|
2021-08-24 10:02:44 +00:00
|
|
|
# Not as clean as I hoped, but it works
|
2021-11-01 20:33:21 +00:00
|
|
|
gnomeExtensions = prev.gnomeExtensions // {
|
|
|
|
notification-timeout = prev.callPackage ./desktop/gnome/extensions/notification-timeout {};
|
|
|
|
windowisready-remover = prev.callPackage ./desktop/gnome/extensions/windowisready-remover {};
|
2021-08-24 16:15:26 +00:00
|
|
|
};
|
2021-11-01 20:33:21 +00:00
|
|
|
python3Packages = prev.python3Packages // {
|
2021-08-24 16:15:26 +00:00
|
|
|
pySmartDL = pySmartDL;
|
|
|
|
cfscrape = cfscrape;
|
2021-07-29 20:21:51 +00:00
|
|
|
};
|
2021-11-15 22:40:07 +00:00
|
|
|
|
2021-11-01 20:33:21 +00:00
|
|
|
replaysorcery = prev.callPackage ./tools/games/replaysorcery {};
|
|
|
|
evdev-proxy = prev.callPackage ./tools/virtualisation/evdev-proxy {};
|
|
|
|
anime4k = prev.callPackage ./misc/video/anime4k {};
|
|
|
|
anime-dl = prev.callPackage ./tools/video/animedl {
|
2021-08-24 16:15:26 +00:00
|
|
|
pySmartDL = pySmartDL;
|
|
|
|
cfscrape = cfscrape;
|
|
|
|
};
|
2021-10-21 21:44:46 +00:00
|
|
|
discord-wrapped = wrapInSandbox {
|
2021-09-06 16:10:14 +00:00
|
|
|
name = "discord";
|
2021-11-01 20:33:21 +00:00
|
|
|
package = prev.discord;
|
2021-10-22 19:40:21 +00:00
|
|
|
#package = discord-system-electron;
|
2021-09-06 19:15:24 +00:00
|
|
|
binaryName = "discord";
|
2021-09-20 09:40:49 +00:00
|
|
|
mountInHome = [ ".config/discord" ".config/BetterDiscord" ];
|
2021-09-06 16:10:14 +00:00
|
|
|
additionalBlacklist = [ "/mnt" ];
|
|
|
|
chdirTo = "/home/$USER";
|
|
|
|
|
|
|
|
version = "1.0.1";
|
|
|
|
copyIntoSandbox = [ "share/pixmaps" ];
|
|
|
|
desktopFileArgs = {
|
|
|
|
name = "Discord (wrapped)";
|
|
|
|
#exec = "discord";
|
|
|
|
icon = "discord";
|
|
|
|
desktopName = "Discord (wrapped)";
|
|
|
|
genericName = "Instant Messenger";
|
|
|
|
categories = "Network;InstantMessaging;";
|
|
|
|
};
|
2021-08-26 17:15:53 +00:00
|
|
|
};
|
2021-09-04 18:17:57 +00:00
|
|
|
|
2021-11-01 20:33:21 +00:00
|
|
|
sddm-sugar-dark = prev.callPackage ./sddm-sugar-dark {};
|
2021-09-20 09:40:49 +00:00
|
|
|
|
2021-11-01 20:33:21 +00:00
|
|
|
iptsd = prev.callPackage ./tools/daemons/iptsd {};
|
|
|
|
surface-control = prev.callPackage ./tools/system/surface-control {};
|
2021-09-06 16:10:14 +00:00
|
|
|
|
2021-11-01 20:33:21 +00:00
|
|
|
trackma = prev.callPackage ./tools/video/trackma {};
|
2021-09-07 10:12:05 +00:00
|
|
|
|
2021-09-20 09:40:49 +00:00
|
|
|
multimc-wrapped = wrapInSandbox {
|
|
|
|
name = "multimc";
|
2021-12-06 12:39:37 +00:00
|
|
|
package = prev.multimc.override {
|
|
|
|
jdk = prev.jdk11;
|
|
|
|
jdk8 = prev.jdk11;
|
|
|
|
};
|
2021-09-20 09:40:49 +00:00
|
|
|
binaryName = "multimc";
|
|
|
|
mountInHome = [ ".local/share/multimc" ];
|
|
|
|
additionalBlacklist = [ "/mnt" ];
|
|
|
|
chdirTo = "/home/$USER";
|
2021-12-06 12:39:37 +00:00
|
|
|
#extraEnv = {
|
|
|
|
# DRI_PRIME = "1";
|
|
|
|
#};
|
|
|
|
};
|
|
|
|
|
|
|
|
minecraft-wrapped = wrapInSandbox {
|
|
|
|
name = "minecraft-launcher";
|
|
|
|
package = prev.minecraft;
|
|
|
|
binaryName = "minecraft-launcher";
|
|
|
|
mountInHome = [ ".local/share/minecraft" ".minecraft" ];
|
|
|
|
additionalBlacklist = [ "/mnt" ];
|
|
|
|
chdirTo = "/home/$USER";
|
2021-09-20 09:40:49 +00:00
|
|
|
};
|
|
|
|
|
2021-09-07 10:12:05 +00:00
|
|
|
steam-wrapped = wrapInSandbox {
|
|
|
|
name = "steam";
|
2021-11-01 20:33:21 +00:00
|
|
|
package = prev.steam;
|
2021-09-07 10:12:05 +00:00
|
|
|
binaryName = "steam";
|
|
|
|
mountInHome = [ ".steam" ".local/share/Steam" ];
|
|
|
|
additionalBlacklist = [ "/mnt" ];
|
|
|
|
additionalMounts = [ "/mnt/Storage/Games/SteamLibrary" ];
|
|
|
|
chdirTo = "/home/$USER";
|
|
|
|
extraEnv = {
|
|
|
|
DRI_PRIME = "1";
|
|
|
|
};
|
|
|
|
|
|
|
|
copyIntoSandbox = [ "/share" ];
|
|
|
|
};
|
2021-10-31 22:48:00 +00:00
|
|
|
|
|
|
|
android-studio-wrapped = wrapInSandbox {
|
|
|
|
name = "android-studio";
|
2021-11-01 20:33:21 +00:00
|
|
|
package = prev.android-studio;
|
2021-10-31 22:48:00 +00:00
|
|
|
binaryName = "android-studio";
|
|
|
|
additionalBlacklist = [ "/mnt" ];
|
|
|
|
mountInHome = [ "Development/Personal/Android" ".android" ];
|
|
|
|
chdirTo = "/home/$USER";
|
|
|
|
};
|
|
|
|
|
2021-11-01 20:33:21 +00:00
|
|
|
xournalpp-git = prev.xournalpp.overrideAttrs (old: {
|
2021-10-31 22:48:00 +00:00
|
|
|
version = "1.1.1";
|
2021-11-01 20:33:21 +00:00
|
|
|
src = prev.fetchFromGitHub {
|
2021-12-06 12:39:37 +00:00
|
|
|
owner = "bhennion";
|
2021-10-31 22:48:00 +00:00
|
|
|
repo = "xournalpp";
|
2021-12-06 12:39:37 +00:00
|
|
|
rev = "5d1545b0c4303e45b4ddf4ef8a1565eba822a9af";
|
|
|
|
sha256 = "1d17lvydlny9pvaxa9xy53wxs7i6d563lp5r9g3r1xpgnb7zli8v";
|
2021-10-31 22:48:00 +00:00
|
|
|
};
|
|
|
|
});
|
2021-10-26 15:19:32 +00:00
|
|
|
|
2021-11-01 20:33:21 +00:00
|
|
|
gajim-mainwindow = prev.callPackage ./applications/networking/instant-messengers/gajim {
|
|
|
|
nbxmpp = prev.python3Packages.nbxmpp.overrideAttrs (old: {
|
|
|
|
src = prev.fetchFromGitLab {
|
2021-10-26 15:19:32 +00:00
|
|
|
domain = "dev.gajim.org";
|
|
|
|
owner = "gajim";
|
|
|
|
repo = "python-nbxmpp";
|
2021-11-20 23:34:18 +00:00
|
|
|
rev = "22aaefb2b36eb46a5306092496c2be680b167f61";
|
|
|
|
sha256 = "sha256-7emxKdeDuQE6OkK+umw2p1drf94yZp+P00tdEfeI81M=";
|
2021-10-26 15:19:32 +00:00
|
|
|
};
|
|
|
|
});
|
|
|
|
};
|
2021-11-15 22:40:07 +00:00
|
|
|
|
2021-11-01 20:33:21 +00:00
|
|
|
swaync = prev.callPackage ./tools/desktop/swaync {};
|
2021-11-09 19:16:11 +00:00
|
|
|
|
2021-11-15 22:40:07 +00:00
|
|
|
# TODO: Remove once NixOS has version 0.11.16 in their repos
|
2021-11-09 19:16:11 +00:00
|
|
|
sublime-music-no-test = prev.callPackage ./applications/audio/sublime-music {};
|
2021-11-15 22:40:07 +00:00
|
|
|
|
|
|
|
# TODO: Remove once upstream has a new version tagged
|
|
|
|
kasts-git = prev.libsForQt5.kasts.overrideAttrs (old: {
|
|
|
|
src = builtins.fetchTarball {
|
|
|
|
url = "https://invent.kde.org/plasma-mobile/kasts/-/archive/master/kasts-master.tar.gz";
|
2021-12-06 12:39:37 +00:00
|
|
|
sha256 = "sha256:1n7j4011hgscmjj728iyjgifpbnwc1sy32b5aw834n1vgxfkq00l";
|
2021-11-15 22:40:07 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = old.buildInputs ++ [ prev.taglib prev.libsForQt5.qtkeychain ];
|
|
|
|
});
|
2021-07-29 20:21:51 +00:00
|
|
|
}
|