mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 00:57:22 +01:00
feat: add eontimer, pokefinder, retroarch
This commit is contained in:
parent
9e8324ad27
commit
efca28aa57
9 changed files with 165 additions and 20 deletions
|
|
@ -2093,6 +2093,7 @@ Note: The structure of generating the packages was changed in commit =2cf03a3 re
|
|||
"t2ts"
|
||||
"ts2t"
|
||||
"vershell"
|
||||
"eontimer"
|
||||
];
|
||||
mkPackages = names: builtins.listToAttrs (map (name: {
|
||||
inherit name;
|
||||
|
|
@ -3282,6 +3283,63 @@ This script allows for quick git branch switching.
|
|||
|
||||
#+end_src
|
||||
|
||||
**** eontimer
|
||||
|
||||
This script allows for quick git branch switching.
|
||||
|
||||
#+begin_src nix :tangle pkgs/eontimer/default.nix
|
||||
{ pkgs, python3Packages }:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "eontimer";
|
||||
version = "3.0.0";
|
||||
pyproject = true;
|
||||
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "DasAmpharos";
|
||||
repo = "EonTimer";
|
||||
rev = "9449e6158f0aa6eaa24b3b1d0a427aa198b5c0e4";
|
||||
hash = "sha256-+XN/VGGlEg2gVncRZrWDOZ2bfxt8xyIu22F2wHlG6YI=";
|
||||
};
|
||||
|
||||
build-system = with python3Packages; [
|
||||
setuptools
|
||||
];
|
||||
|
||||
dependencies = with python3Packages; [
|
||||
altgraph
|
||||
certifi
|
||||
charset-normalizer
|
||||
idna
|
||||
libsass
|
||||
macholib
|
||||
packaging
|
||||
pillow
|
||||
pipdeptree
|
||||
platformdirs
|
||||
pyinstaller
|
||||
pyinstaller-hooks-contrib
|
||||
pyside6
|
||||
requests
|
||||
setuptools
|
||||
shiboken6
|
||||
urllib3
|
||||
];
|
||||
|
||||
buildPhase = ''
|
||||
${pkgs.python3Packages.pyinstaller}/bin/pyinstaller EonTimer.spec
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp dist/EonTimer $out/bin/
|
||||
'';
|
||||
|
||||
|
||||
}
|
||||
|
||||
#+end_src
|
||||
|
||||
*** Overlays (additions, overrides, nixpkgs-stable)
|
||||
:PROPERTIES:
|
||||
:CUSTOM_ID: h:5e3e21e0-57af-4dad-b32f-6400af9b7aab
|
||||
|
|
@ -3309,6 +3367,17 @@ When adding a new entry here, do not forget to add it in the default output of t
|
|||
];
|
||||
};
|
||||
|
||||
retroarch = _prev.retroarch.withCores (cores: with cores; [
|
||||
snes9x # snes
|
||||
nestopia # nes
|
||||
dosbox # dos
|
||||
scummvm # scumm
|
||||
vba-m # gb/a
|
||||
mgba # gb/a
|
||||
melonds # ds
|
||||
dolphin # gc/wii
|
||||
]);
|
||||
|
||||
# prismlauncher = _prev.prismlauncher.override {
|
||||
# glfw = _prev.glfw-wayland-minecraft;
|
||||
# };
|
||||
|
|
@ -4198,6 +4267,8 @@ Mostly used to install some compilers and lsp's that I want to have available wh
|
|||
# secure boot
|
||||
sbctl
|
||||
|
||||
libsForQt5.qt5.qtwayland
|
||||
|
||||
# nix package database
|
||||
nix-index
|
||||
nixos-generators
|
||||
|
|
@ -5323,6 +5394,7 @@ When a program does not work, start with =nix-ldd <program>=. This will tell you
|
|||
libvpx
|
||||
libxkbcommon
|
||||
libxml2
|
||||
libz
|
||||
mesa
|
||||
nspr
|
||||
nss
|
||||
|
|
@ -8120,6 +8192,7 @@ This is just a separate container for derivations defined in [[#h:64a5cc16-6b16-
|
|||
t2ts
|
||||
ts2t
|
||||
vershell
|
||||
eontimer
|
||||
|
||||
bootstrap
|
||||
|
||||
|
|
@ -10607,28 +10680,31 @@ The rest of the settings is at [[#h:fb3f3e01-7df4-4b06-9e91-aa9cac61a431][gaming
|
|||
{
|
||||
# specialisation = {
|
||||
# gaming.configuration = {
|
||||
home.packages = with pkgs; [
|
||||
stable.lutris
|
||||
wine
|
||||
libudev-zero
|
||||
dwarfs
|
||||
fuse-overlayfs
|
||||
# steam
|
||||
# steam-run
|
||||
patchelf
|
||||
gamescope
|
||||
vulkan-tools
|
||||
moonlight-qt
|
||||
ns-usbloader
|
||||
home.packages = with pkgs; [
|
||||
stable.lutris
|
||||
wine
|
||||
libudev-zero
|
||||
dwarfs
|
||||
fuse-overlayfs
|
||||
# steam
|
||||
# steam-run
|
||||
patchelf
|
||||
gamescope
|
||||
vulkan-tools
|
||||
moonlight-qt
|
||||
ns-usbloader
|
||||
|
||||
quark-goldleaf
|
||||
# gog games installing
|
||||
heroic
|
||||
quark-goldleaf
|
||||
# gog games installing
|
||||
heroic
|
||||
|
||||
# minecraft
|
||||
prismlauncher # has overrides
|
||||
temurin-bin-17
|
||||
];
|
||||
# minecraft
|
||||
prismlauncher # has overrides
|
||||
temurin-bin-17
|
||||
|
||||
pokefinder
|
||||
retroarch
|
||||
];
|
||||
# };
|
||||
# };
|
||||
}
|
||||
|
|
|
|||
|
|
@ -15,6 +15,17 @@ let
|
|||
];
|
||||
};
|
||||
|
||||
retroarch = _prev.retroarch.withCores (cores: with cores; [
|
||||
snes9x # snes
|
||||
nestopia # nes
|
||||
dosbox # dos
|
||||
scummvm # scumm
|
||||
vba-m # gb/a
|
||||
mgba # gb/a
|
||||
melonds # ds
|
||||
dolphin # gc/wii
|
||||
]);
|
||||
|
||||
# prismlauncher = _prev.prismlauncher.override {
|
||||
# glfw = _prev.glfw-wayland-minecraft;
|
||||
# };
|
||||
|
|
|
|||
|
|
@ -21,6 +21,7 @@ let
|
|||
"t2ts"
|
||||
"ts2t"
|
||||
"vershell"
|
||||
"eontimer"
|
||||
];
|
||||
mkPackages = names: builtins.listToAttrs (map
|
||||
(name: {
|
||||
|
|
|
|||
49
pkgs/eontimer/default.nix
Normal file
49
pkgs/eontimer/default.nix
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
{ pkgs, python3Packages }:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "eontimer";
|
||||
version = "3.0.0";
|
||||
pyproject = true;
|
||||
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "DasAmpharos";
|
||||
repo = "EonTimer";
|
||||
rev = "9449e6158f0aa6eaa24b3b1d0a427aa198b5c0e4";
|
||||
hash = "sha256-+XN/VGGlEg2gVncRZrWDOZ2bfxt8xyIu22F2wHlG6YI=";
|
||||
};
|
||||
|
||||
build-system = with python3Packages; [
|
||||
setuptools
|
||||
];
|
||||
|
||||
dependencies = with python3Packages; [
|
||||
altgraph
|
||||
certifi
|
||||
charset-normalizer
|
||||
idna
|
||||
libsass
|
||||
macholib
|
||||
packaging
|
||||
pillow
|
||||
pipdeptree
|
||||
platformdirs
|
||||
pyinstaller
|
||||
pyinstaller-hooks-contrib
|
||||
pyside6
|
||||
requests
|
||||
setuptools
|
||||
shiboken6
|
||||
urllib3
|
||||
];
|
||||
|
||||
buildPhase = ''
|
||||
${pkgs.python3Packages.pyinstaller}/bin/pyinstaller EonTimer.spec
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp dist/EonTimer $out/bin/
|
||||
'';
|
||||
|
||||
|
||||
}
|
||||
|
|
@ -20,6 +20,7 @@
|
|||
t2ts
|
||||
ts2t
|
||||
vershell
|
||||
eontimer
|
||||
|
||||
bootstrap
|
||||
|
||||
|
|
|
|||
|
|
@ -70,6 +70,7 @@
|
|||
libvpx
|
||||
libxkbcommon
|
||||
libxml2
|
||||
libz
|
||||
mesa
|
||||
nspr
|
||||
nss
|
||||
|
|
|
|||
|
|
@ -26,6 +26,8 @@
|
|||
# secure boot
|
||||
sbctl
|
||||
|
||||
libsForQt5.qt5.qtwayland
|
||||
|
||||
# nix package database
|
||||
nix-index
|
||||
nixos-generators
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@
|
|||
export SDL_VIDEODRIVER=wayland
|
||||
export QT_QPA_PLATFORM=wayland-egl
|
||||
export QT_WAYLAND_DISABLE_WINDOWDECORATION=1
|
||||
export QT_QPA_PLATFORM_PLUGIN_PATH="${pkgs.libsForQt5.qt5.qtbase.bin}/lib/qt-${pkgs.libsForQt5.qt5.qtbase.version}/plugins";
|
||||
export MOZ_ENABLE_WAYLAND=1
|
||||
export MOZ_DISABLE_RDD_SANDBOX=1
|
||||
'';
|
||||
|
|
|
|||
|
|
@ -23,6 +23,9 @@
|
|||
# minecraft
|
||||
prismlauncher # has overrides
|
||||
temurin-bin-17
|
||||
|
||||
pokefinder
|
||||
retroarch
|
||||
];
|
||||
# };
|
||||
# };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue