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