add winegdk and install cage-xtmapper

This commit is contained in:
Asaki Yuki 2026-04-15 13:26:06 +07:00
parent ca4e3f77b7
commit c0b9b51f56
9 changed files with 98 additions and 18 deletions

88
flake.lock generated
View file

@ -107,6 +107,24 @@
"type": "github"
}
},
"flake-utils_3": {
"inputs": {
"systems": "systems_4"
},
"locked": {
"lastModified": 1731533236,
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"home-manager": {
"inputs": {
"nixpkgs": [
@ -449,6 +467,22 @@
"type": "github"
}
},
"nixpkgs_7": {
"locked": {
"lastModified": 1762361079,
"narHash": "sha256-lz718rr1BDpZBYk7+G8cE6wee3PiBUpn8aomG/vLLiY=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "ffcdcf99d65c61956d882df249a9be53e5902ea5",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixvim": {
"inputs": {
"flake-parts": "flake-parts_2",
@ -508,7 +542,8 @@
"nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs_6",
"nixvim": "nixvim",
"unstablepkgs": "unstablepkgs"
"unstablepkgs": "unstablepkgs",
"winegdk": "winegdk"
}
},
"systems": {
@ -556,6 +591,21 @@
"type": "github"
}
},
"systems_4": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"unstablepkgs": {
"locked": {
"lastModified": 1775710090,
@ -572,6 +622,42 @@
"type": "github"
}
},
"winegdk": {
"inputs": {
"flake-utils": "flake-utils_3",
"nixpkgs": "nixpkgs_7",
"winegdk": "winegdk_2"
},
"locked": {
"lastModified": 1762497139,
"narHash": "sha256-9QE4BJNtz0UgB5mWf+EgGZW9hrVdJyta/KlQJwh8IsQ=",
"owner": "fmbearmf",
"repo": "winegdk-nix",
"rev": "91356fdc0d1c004b8f57b79ddb5e771845dfe2c1",
"type": "github"
},
"original": {
"owner": "fmbearmf",
"repo": "winegdk-nix",
"type": "github"
}
},
"winegdk_2": {
"flake": false,
"locked": {
"lastModified": 1762457615,
"narHash": "sha256-Ja32uLvxCi1weDop+HCrSAagkMaNbSjoW1C720/D3cw=",
"owner": "Weather-OS",
"repo": "WineGDK",
"rev": "a82854dfa4b54ab935bc3ca69d4bd885c4a63186",
"type": "github"
},
"original": {
"owner": "Weather-OS",
"repo": "WineGDK",
"type": "github"
}
},
"xwayland-satellite-stable": {
"flake": false,
"locked": {

View file

@ -10,6 +10,7 @@
niri.url = "github:sodiboo/niri-flake";
nixcord.url = "github:FlameFlag/nixcord";
dolphin-overlay.url = "github:rumboon/dolphin-overlay";
winegdk.url = "github:fmbearmf/winegdk-nix";
honkai-railway-grub-theme.url = "github:voidlhf/StarRailGrubThemes/4a84e576bb544afbdfc76dbe40ffc50a5c2b16de";

View file

@ -40,5 +40,6 @@
firefox.enable = true;
chromium.enable = true;
gcc.enable = true;
davinci-resolve.enable = true;
};
}

View file

@ -17,6 +17,7 @@
(lib.mkIf config.programs.lmstudio.enable config.programs.lmstudio.package)
(lib.mkIf config.programs.blender.enable config.programs.blender.package)
(lib.mkIf config.programs.xprop.enable config.programs.xprop.package)
(lib.mkIf config.programs.davinci-resolve.enable config.programs.davinci-resolve.package)
(lib.mkIf config.programs.pavucontrol.enable config.programs.pavucontrol.package)
(lib.mkIf config.programs.nwg-look.enable config.programs.nwg-look.package)

View file

@ -2,7 +2,7 @@
pkgs,
lib,
config,
libs,
custom,
...
}: {
environment.systemPackages = with pkgs;
@ -19,7 +19,8 @@
zip
unzip
(libs.root "/packages/winegdk.nix")
(pkgs.callPackage (custom.cage-xtmapper {}) {})
(lib.mkIf config.programs.ffmpeg.enable config.programs.ffmpeg.package)
(lib.mkIf config.programs.nodejs.enable config.programs.nodejs.package)
(lib.mkIf config.programs.bun.enable config.programs.bun.package)

View file

@ -93,6 +93,10 @@
];
};
};
davinci-resolve = {
enable = lib.mkEnableOption "davinci-resolve";
package = lib.mkPackageOption pkgs "davinci-resolve" {};
};
hytale = {
enable = lib.mkEnableOption "hytale-launcher";
package = lib.mkOption {

View file

@ -1,4 +1,5 @@
{
inputs,
lib,
pkgs,
...

View file

@ -9,5 +9,4 @@
cursors = name;
size = size;
});
winegdk = import ./winegdk.nix;
}

View file

@ -1,14 +0,0 @@
{
stdenv,
fetchFromGitHub,
}:
stdenv.mkDerivation {
pname = "winegdk";
version = "1.0.0";
src = fetchFromGitHub {
owner = "Weather-OS";
repo = "winegdk";
rev = "5cffa07a43a61a2fd1695d714b85b5b44852d55b";
sha256 = "000000000000000000000000000000000000000000000000000";
};
}