From 5777eb41c948eca3b8438216ec98f1c509837847 Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Thu, 26 Dec 2024 22:30:56 -0800 Subject: [PATCH] Revert 1 commits 5733da3 'feat: use nix-flatpak fork that allows local path for flatpakref' --- flake.lock | 10 +++++----- flake.nix | 2 +- modules/linux/gaming/default.nix | 6 +++++- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/flake.lock b/flake.lock index ea17809..7a1f93c 100644 --- a/flake.lock +++ b/flake.lock @@ -509,15 +509,15 @@ }, "nix-flatpak": { "locked": { - "lastModified": 1735280548, - "narHash": "sha256-NF2tLzEl4d8pzauzVBdgt79iSYSZcf+B+kN7deCmK1c=", - "owner": "youwen5", + "lastModified": 1734864618, + "narHash": "sha256-8SCTJhDH1fdNGGFhuGStIqbO7vwUKQokgQu6nQlQagY=", + "owner": "gmodena", "repo": "nix-flatpak", - "rev": "2bf73bef832ee2f2091795a8800b7659c2b51dd3", + "rev": "13be795cac27df7044a425c0b2de3a42b10ddb18", "type": "github" }, "original": { - "owner": "youwen5", + "owner": "gmodena", "repo": "nix-flatpak", "type": "github" } diff --git a/flake.nix b/flake.nix index 5fe5ee3..b46058d 100755 --- a/flake.nix +++ b/flake.nix @@ -24,7 +24,7 @@ inputs.nixpkgs.follows = "nixpkgs"; }; - nix-flatpak.url = "github:youwen5/nix-flatpak"; + nix-flatpak.url = "github:gmodena/nix-flatpak"; nix-homebrew = { url = "github:zhaofengli-wip/nix-homebrew"; diff --git a/modules/linux/gaming/default.nix b/modules/linux/gaming/default.nix index df63e94..8a937f7 100755 --- a/modules/linux/gaming/default.nix +++ b/modules/linux/gaming/default.nix @@ -50,8 +50,12 @@ in services.flatpak.packages = lib.mkIf cfg.roblox.enable [ { - flatpakref = ./sober.flatpakref; + flatpakref = "./sober.flatpakref"; + sha256 = "sha256:1pj8y1xhiwgbnhrr3yr3ybpfis9slrl73i0b1lc9q89vhip6ym2l"; + } + { appId = "org.vinegarhq.Sober"; + origin = "sober"; } ];