diff --git a/flake.lock b/flake.lock index 9aceb83..50760a8 100644 --- a/flake.lock +++ b/flake.lock @@ -2513,6 +2513,7 @@ "plasma-manager": "plasma-manager", "systems": "systems_4", "treefmt-nix": "treefmt-nix", + "umu": "umu", "wezterm": "wezterm" } }, @@ -2674,6 +2675,30 @@ "type": "github" } }, + "umu": { + "inputs": { + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "dir": "packaging/nix", + "lastModified": 1728918416, + "narHash": "sha256-IGiaUXA1acNjVdKijIlvImCZ63X/BAmr+X1PPa+6URs=", + "ref": "refs/heads/main", + "rev": "f21c7e651bf8dcaab391e614f3bb15fc3557c94b", + "revCount": 771, + "submodules": true, + "type": "git", + "url": "https://github.com/Open-Wine-Components/umu-launcher/" + }, + "original": { + "dir": "packaging/nix", + "submodules": true, + "type": "git", + "url": "https://github.com/Open-Wine-Components/umu-launcher/" + } + }, "utils": { "locked": { "lastModified": 1656928814, diff --git a/flake.nix b/flake.nix index 55a8963..9547de5 100644 --- a/flake.nix +++ b/flake.nix @@ -66,6 +66,11 @@ url = "github:sodiboo/niri-flake"; }; + umu = { + url = "git+https://github.com/Open-Wine-Components/umu-launcher/?dir=packaging\/nix&submodules=1"; + inputs.nixpkgs.follows = "nixpkgs"; + }; + treefmt-nix.url = "github:numtide/treefmt-nix"; nixos-hardware.url = "github:NixOS/nixos-hardware"; diff --git a/home/programs/games/default.nix b/home/programs/games/default.nix index 1c52374..3cc9477 100644 --- a/home/programs/games/default.nix +++ b/home/programs/games/default.nix @@ -1,4 +1,8 @@ -{pkgs, ...}: { +{ + pkgs, + inputs, + ... +}: { home.packages = with pkgs; [ protonup-qt bottles @@ -10,6 +14,7 @@ xdotool xorg.xwininfo yad + inputs.umu.packages.${pkgs.system}.umu ]; programs.mangohud.enable = true; }