install retroarch

This commit is contained in:
Christoph Cullmann 2024-12-05 20:54:20 +01:00
parent 8550dacc66
commit 326d979f48
No known key found for this signature in database

View file

@ -2,6 +2,11 @@
let let
impermanence = builtins.fetchTarball "https://github.com/nix-community/impermanence/archive/master.tar.gz"; impermanence = builtins.fetchTarball "https://github.com/nix-community/impermanence/archive/master.tar.gz";
cullmann-fonts = pkgs.callPackage "/data/nixos/packages/cullmann-fonts.nix" {}; cullmann-fonts = pkgs.callPackage "/data/nixos/packages/cullmann-fonts.nix" {};
retroarchWithCores = (pkgs.retroarch.withCores (cores: with cores; [
bsnes
mgba
quicknes
]));
in in
{ {
# #
@ -362,6 +367,7 @@ in
qmk qmk
qsynth qsynth
restic restic
retroarchWithCores
ripgrep ripgrep
scc scc
ssh-audit ssh-audit
@ -390,7 +396,7 @@ in
"olm-3.2.16" "olm-3.2.16"
]; ];
# run browsers in a sandbox # run some stuff in a sandbox
programs.firejail = { programs.firejail = {
enable = true; enable = true;
@ -405,6 +411,11 @@ in
profile = "${pkgs.firejail}/etc/firejail/firefox.profile"; profile = "${pkgs.firejail}/etc/firejail/firefox.profile";
}; };
retroarch = {
executable = "${retroarchWithCores}/bin/retroarch";
profile = "${pkgs.firejail}/etc/firejail/retroarch.profile";
};
signal-desktop = { signal-desktop = {
executable = "${pkgs.signal-desktop}/bin/signal-desktop"; executable = "${pkgs.signal-desktop}/bin/signal-desktop";
profile = "${pkgs.firejail}/etc/firejail/signal-desktop.profile"; profile = "${pkgs.firejail}/etc/firejail/signal-desktop.profile";