added some emulated games and also itroduced a gaming mode for couch experience

This commit is contained in:
2026-09-21 18:05:55 +02:00
parent 7239b3740d
commit 95d6b0b257
10 changed files with 105 additions and 63 deletions
+9
View File
@@ -371,6 +371,15 @@ hl.bind("XF86AudioPause", hl.dsp.exec_cmd("playerctl play-pause"), { locked = tr
hl.bind("XF86AudioPlay", hl.dsp.exec_cmd("playerctl play-pause"), { locked = true })
hl.bind("XF86AudioPrev", hl.dsp.exec_cmd("playerctl previous"), { locked = true })
-- Gaming Mode
hl.bind(mainMod .. "+ SHIFT + G",
hl.dsp.exec_cmd(
"nix run nixpkgs#gamescope -- -W 2560 -H 1440 -f -e -- steam -bigpicture",
{ workspace = "9" }
)
)
--------------------------------
---- WINDOWS AND WORKSPACES ----
@@ -38,3 +38,8 @@ vim.opt.showtabline = 1
vim.opt.showmode = false
vim.opt.diffopt = "vertical"
-- spellchecking
vim.opt.spelllang = "en_us"
vim.opt.spell = true
+1
View File
@@ -94,6 +94,7 @@
services.udev.extraRules = ''
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="1430", ATTRS{idProduct}=="0150", MODE="0666"
SUBSYSTEM=="hidraw", ATTRS{idVendor}=="2dc8", MODE="0666", GROUP="users", TAG+="uaccess"
SUBSYSTEMS=="usb*", ATTRS{idVendor}=="36bc", MODE="0666"
'';
};
}
+36 -9
View File
@@ -4,23 +4,24 @@
environment.systemPackages = with pkgs; [ eden ];
};
flake.modules.homeManager.eden = { config, ... }: let
flake.modules.homeManager.eden =
{ config, ... }:
let
configHome = config.home.homeDirectory;
resolveGamePath = game: "${configHome}/.edenroms/${game}/${game}.nsp";
in {
# imports = [ inputs.vdf-nix.modules.homeManager.vdf ];
in
{
vdf.shortcuts = {
"208933471" = [
{
"appid" = 3694432012;
"AppName" = "Super Mario Bros Wonder";
"Exe" = "eden-cli";
"Exe" = "eden";
"StartDir" = "/home/quirinecker/";
"icon" = "${./eden/super_mario_bros_wonders/logo.png}";
"ShortcutPath" = "";
"LaunchOptions" = "--game ${resolveGamePath "super_mario_bros_wonders"} --fullscreen";
"LaunchOptions" = "-f ${resolveGamePath "super_mario_bros_wonders"}";
"IsHidden" = 0;
"AllowDesktopConfig" = 1;
"AllowOverlay" = 1;
@@ -42,11 +43,11 @@
{
"appid" = 2240985812;
"AppName" = "Pokemon Lets Go Eevee";
"Exe" = "eden-cli";
"Exe" = "eden";
"StartDir" = "/home/quirinecker/";
"icon" = "${./eden/super_mario_bros_wonders/logo.png}";
"icon" = "${./eden/pokemon_lets_go_eevee/logo.png}";
"ShortcutPath" = "";
"LaunchOptions" = "--game ${resolveGamePath "pokemon_lets_go_eevee"} --fullscreen";
"LaunchOptions" = "-f ${resolveGamePath "pokemon_lets_go_eevee"}";
"IsHidden" = 0;
"AllowDesktopConfig" = 1;
"AllowOverlay" = 1;
@@ -65,6 +66,32 @@
landscape = ./eden/pokemon_lets_go_eevee/landscape.png;
};
}
{
"appid" = 4034108117;
"AppName" = "Super Mario 3D World";
"Exe" = "eden";
"StartDir" = "/home/quirinecker/";
"icon" = "${./eden/super_mario_3d_world/icon.png}";
"ShortcutPath" = "";
"LaunchOptions" = "-f ${resolveGamePath "super_mario_3d_world"}";
"IsHidden" = 0;
"AllowDesktopConfig" = 1;
"AllowOverlay" = 1;
"OpenVR" = 0;
"Devkit" = 0;
"DevkitGameID" = "";
"DevkitOverrideAppID" = 0;
"LastPlayTime" = 1788863266;
"FlatpakAppID" = "";
"sortas" = "";
"tags" = { };
grid = {
logo = ./eden/super_mario_3d_world/logo.png;
hero = ./eden/super_mario_3d_world/hero.png;
portrait = ./eden/super_mario_3d_world/portrait.png;
landscape = ./eden/super_mario_3d_world/landscape.png;
};
}
];
};
};
Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 99 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 876 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 710 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1013 KiB

+1 -1
View File
@@ -27,7 +27,7 @@ let
];
others = pkgs: [
pkgs.libreoffice-qt
pkgs.onlyoffice-desktopeditors
pkgs.nextcloud-client
pkgs.vlc
pkgs.home-manager