added nix-vdf input and defined non steam games for cemu and eden

This commit is contained in:
2026-09-11 20:36:02 +02:00
parent f0a86d301d
commit 6ab0e06c52
24 changed files with 166 additions and 1 deletions
+4
View File
@@ -24,6 +24,10 @@
inputs.nixpkgs.follows = "nixpkgs";
};
vdf-nix = {
url = "github:quirinecker/vdf-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = inputs: inputs.flake-parts.lib.mkFlake { inherit inputs; } (inputs.import-tree ./modules);
+90 -1
View File
@@ -1,10 +1,99 @@
{ ... }:
{ inputs, ... }:
{
flake.modules.homeManager.cemu = { ... }: {
imports = [ inputs.vdf-nix.modules.homeManager.vdf ];
vdf.shortcuts = {
"208933471" = [
{
"appid" = 3181457528;
"AppName" = "Zelda: Breath of the Wild";
"Exe" = "cemu";
"StartDir" = "/home/quirinecker/";
"icon" = "${./cemu/botw/logo.png}";
"ShortcutPath" = "";
"LaunchOptions" = "--title-id 00050000101c9500 --fullscreen";
"IsHidden" = 0;
"AllowDesktopConfig" = 1;
"AllowOverlay" = 1;
"OpenVR" = 0;
"Devkit" = 0;
"DevkitGameID" = "";
"DevkitOverrideAppID" = 0;
"LastPlayTime" = 1788863266;
"FlatpakAppID" = "";
"sortas" = "";
"tags" = { };
grid = {
logo = ./cemu/botw/logo.png;
hero = ./cemu/botw/hero.png;
portrait = ./cemu/botw/portrait.png;
landscape = ./cemu/botw/landscape.png;
};
}
{
"appid" = 3604872806;
"AppName" = "Skylanders SwapForce";
"Exe" = "cemu";
"StartDir" = "/home/quirinecker/";
"icon" = "/home/quirinecker/Downloads/49616854cfb1b647aa07bcdbae4e484d.png";
"ShortcutPath" = "";
"LaunchOptions" = "--title-id 0005000010139200 --fullscreen";
"IsHidden" = 0;
"AllowDesktopConfig" = 1;
"AllowOverlay" = 1;
"OpenVR" = 0;
"Devkit" = 0;
"DevkitGameID" = "";
"DevkitOverrideAppID" = 0;
"LastPlayTime" = 1788025801;
"FlatpakAppID" = "";
"sortas" = "";
"tags" = { };
grid = {
logo = ./cemu/swapforce/logo.png;
hero = ./cemu/swapforce/hero.png;
portrait = ./cemu/swapforce/portrait.png;
landscape = ./cemu/swapforce/landscape.png;
};
}
{
"appid" = 2171090255;
"AppName" = "Skylanders Imaginators";
"Exe" = "cemu";
"StartDir" = "/home/quirinecker/";
"icon" = "${./cemu/imaginators/logo.png}";
"ShortcutPath" = "";
"LaunchOptions" = "--title-id 00050000101fb100 --fullscreen";
"IsHidden" = 0;
"AllowDesktopConfig" = 1;
"AllowOverlay" = 1;
"OpenVR" = 0;
"Devkit" = 0;
"DevkitGameID" = "";
"DevkitOverrideAppID" = 0;
"LastPlayTime" = 1788025801;
"FlatpakAppID" = "";
"sortas" = "";
"tags" = { };
grid = {
logo = ./cemu/imaginators/logo.png;
hero = ./cemu/imaginators/hero.png;
portrait = ./cemu/imaginators/portrait.png;
landscape = ./cemu/imaginators/landscape.png;
};
}
];
};
};
flake.modules.nixos.cemu = { pkgs, ... }: {
environment.systemPackages = with pkgs; [ cemu ];
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"
'';
};
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 126 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 897 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 209 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 384 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 646 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 646 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 874 KiB

+71
View File
@@ -0,0 +1,71 @@
{ ... }:
{
flake.modules.nixos.eden = { pkgs, ... }: {
environment.systemPackages = with pkgs; [ eden ];
};
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 ];
vdf.shortcuts = {
"208933471" = [
{
"appid" = 3694432012;
"AppName" = "Super Mario Bros Wonder";
"Exe" = "eden-cli";
"StartDir" = "/home/quirinecker/";
"icon" = "${./eden/super_mario_bros_wonders/logo.png}";
"ShortcutPath" = "";
"LaunchOptions" = "--game ${resolveGamePath "super_mario_bros_wonders"} --fullscreen";
"IsHidden" = 0;
"AllowDesktopConfig" = 1;
"AllowOverlay" = 1;
"OpenVR" = 0;
"Devkit" = 0;
"DevkitGameID" = "";
"DevkitOverrideAppID" = 0;
"LastPlayTime" = 1788863266;
"FlatpakAppID" = "";
"sortas" = "";
"tags" = { };
grid = {
logo = ./eden/super_mario_bros_wonders/logo.png;
hero = ./eden/super_mario_bros_wonders/hero.png;
portrait = ./eden/super_mario_bros_wonders/portrait.png;
landscape = ./eden/super_mario_bros_wonders/landscape.png;
};
}
{
"appid" = 2240985812;
"AppName" = "Pokemon Lets Go Eevee";
"Exe" = "eden-cli";
"StartDir" = "/home/quirinecker/";
"icon" = "${./eden/super_mario_bros_wonders/logo.png}";
"ShortcutPath" = "";
"LaunchOptions" = "--game ${resolveGamePath "pokemon_lets_go_eevee"} --fullscreen";
"IsHidden" = 0;
"AllowDesktopConfig" = 1;
"AllowOverlay" = 1;
"OpenVR" = 0;
"Devkit" = 0;
"DevkitGameID" = "";
"DevkitOverrideAppID" = 0;
"LastPlayTime" = 1788863266;
"FlatpakAppID" = "";
"sortas" = "";
"tags" = { };
grid = {
logo = ./eden/pokemon_lets_go_eevee/logo.png;
hero = ./eden/pokemon_lets_go_eevee/hero.png;
portrait = ./eden/pokemon_lets_go_eevee/portrait.png;
landscape = ./eden/pokemon_lets_go_eevee/landscape.png;
};
}
];
};
};
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 628 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 893 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 714 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 580 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 487 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 833 KiB

+1
View File
@@ -3,6 +3,7 @@
flake.modules.nixos.gaming = { ... }: {
imports = [
self.modules.nixos.cemu
self.modules.nixos.eden
self.modules.nixos.steam
self.modules.nixos.xbox-controller
self.modules.nixos.gpu-screenrecorder