nixos-config/packages/default.nix

64 lines
2.5 KiB
Nix
Raw Normal View History

2021-07-29 20:21:51 +00:00
{ pkgs ? import <nixpkgs> {} }:
2021-08-24 16:15:26 +00:00
let
pySmartDL = pkgs.callPackage ./development/python/pySmartDL {};
cfscrape = pkgs.callPackage ./development/python/cfscrape {};
2021-08-28 14:49:14 +00:00
system_hotkey = pkgs.callPackage ./development/python/system_hotkey {};
buildFHSUserEnvBubblewrap = pkgs.callPackage ./build-support/build-fhs-userenv-bubblewrap {};
discord-system-electron = pkgs.callPackage ./applications/networking/instant-messengers/discord {
# Wayland
# NOTE: electron under Wayland has no window titlebars
#extraStartupArgs = "--enable-features=UseOzonePlatform --ozone-platform=wayland";
};
2021-09-06 16:10:14 +00:00
wrapInSandbox = pkgs.callPackage ./sandbox.nix {};
2021-08-24 16:15:26 +00:00
in {
gamemode = pkgs.callPackage ./tools/games/gamemode { };
key-mapper = pkgs.callPackage ./tools/games/key-mapper {};
vfio-isolate = pkgs.callPackage ./tools/virtualisation/vfio-isolate {};
mopidy-funkwhale = pkgs.callPackage ./applications/audio/mopidy/funkwhale.nix {};
# Not as clean as I hoped, but it works
2021-08-24 09:36:15 +00:00
gnomeExtensions = pkgs.gnomeExtensions // {
notification-timeout = pkgs.callPackage ./desktop/gnome/extensions/notification-timeout {};
2021-08-24 16:15:26 +00:00
windowisready-remover = pkgs.callPackage ./desktop/gnome/extensions/windowisready-remover {};
};
python3Packages = pkgs.python3Packages // {
pySmartDL = pySmartDL;
cfscrape = cfscrape;
2021-08-28 14:49:14 +00:00
system_hotkey = system_hotkey;
2021-07-29 20:21:51 +00:00
};
replaysorcery = pkgs.callPackage ./tools/games/replaysorcery {};
evdev-proxy = pkgs.callPackage ./tools/virtualisation/evdev-proxy {};
anime4k = pkgs.callPackage ./misc/video/anime4k {};
2021-08-24 16:15:26 +00:00
anime-dl = pkgs.callPackage ./tools/video/animedl {
pySmartDL = pySmartDL;
cfscrape = cfscrape;
};
2021-08-28 14:49:14 +00:00
superpaper = pkgs.callPackage ./applications/desktop/superpaper {
system_hotkey = system_hotkey;
};
2021-09-06 19:15:24 +00:00
discord-system-electron-wrapped = wrapInSandbox {
2021-09-06 16:10:14 +00:00
name = "discord";
2021-09-06 19:15:24 +00:00
package = discord-system-electron;
binaryName = "discord";
2021-09-06 16:10:14 +00:00
mountInHome = [ ".config/discord" ];
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-09-04 18:17:57 +00:00
iptsd = pkgs.callPackage ./tools/daemons/iptsd {};
surface-control = pkgs.callPackage ./tools/system/surface-control {};
2021-09-06 16:10:14 +00:00
trackma = pkgs.callPackage ./tools/video/trackma {};
2021-07-29 20:21:51 +00:00
}