1
0
Fork 0
This commit is contained in:
Lukas Wurzinger 2025-07-12 13:55:50 +02:00
parent a8d4ca8096
commit 498d6cd6e4
No known key found for this signature in database
8 changed files with 216 additions and 121 deletions

View file

@ -1,8 +0,0 @@
shell script that loops a launcher
basically
while true; do
fuzzel with retroarch steam quit
if quit; then exit; fi
else run command (waiting)
done

View file

@ -1,47 +0,0 @@
{
lib,
inputs,
pkgs,
...
}:
let
spec = {
entries = [
{
displayName = "RetroArch";
program = "retroarch";
}
{
displayName = "Steam";
program = "steam";
args = [
"-tenfoot"
];
}
];
};
specFormat = pkgs.formats.json { };
launcher = pkgs.writeShellApplication {
name = "launcher";
runtimeInputs = [
inputs.xenumenu.packages.${pkgs.system}.default
];
text = ''
while true; do
xenumenu --rowcols 3 --exit ${specFormat.generate "spec.json" spec}
done
'';
};
in
{
services.cage = {
enable = true;
program = lib.getExe launcher;
user = "insomniac";
environment = {
WLR_LIBINPUT_NO_DEVICES = "1";
};
};
}

View file

@ -0,0 +1,6 @@
{
services.displayManager.autoLogin = {
enable = true;
user = "insomniac";
};
}

View file

@ -1,6 +1,5 @@
{
# TODO
networking.interfaces.TODO.wakeOnLan = {
networking.interfaces.enp10s0.wakeOnLan = {
enable = true;
policy = [
"magic"

View file

@ -1,6 +1,8 @@
{
profiles = {
desktop.enable = true;
headful.enable = true;
dynamic.enable = true;
gaming.enable = true;
};
}

View file

@ -1,11 +0,0 @@
{
programs.steam = {
enable = true;
extest.enable = true;
protontricks.enable = true;
dedicatedServer.openFirewall = true;
remotePlay.openFirewall = true;
localNetworkGameTransfers.openFirewall = true;
gamescopeSession.enable = true; # TODO
};
}