feat: use nix-flatpak fork that allows local path for flatpakref

This commit is contained in:
Youwen Wu 2024-12-26 22:26:42 -08:00
parent c2a1a204bb
commit 5733da3404
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3
3 changed files with 7 additions and 11 deletions

View file

@ -509,15 +509,15 @@
}, },
"nix-flatpak": { "nix-flatpak": {
"locked": { "locked": {
"lastModified": 1734864618, "lastModified": 1735280548,
"narHash": "sha256-8SCTJhDH1fdNGGFhuGStIqbO7vwUKQokgQu6nQlQagY=", "narHash": "sha256-NF2tLzEl4d8pzauzVBdgt79iSYSZcf+B+kN7deCmK1c=",
"owner": "gmodena", "owner": "youwen5",
"repo": "nix-flatpak", "repo": "nix-flatpak",
"rev": "13be795cac27df7044a425c0b2de3a42b10ddb18", "rev": "2bf73bef832ee2f2091795a8800b7659c2b51dd3",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "gmodena", "owner": "youwen5",
"repo": "nix-flatpak", "repo": "nix-flatpak",
"type": "github" "type": "github"
} }

View file

@ -24,7 +24,7 @@
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
nix-flatpak.url = "github:gmodena/nix-flatpak"; nix-flatpak.url = "github:youwen5/nix-flatpak";
nix-homebrew = { nix-homebrew = {
url = "github:zhaofengli-wip/nix-homebrew"; url = "github:zhaofengli-wip/nix-homebrew";

View file

@ -50,12 +50,8 @@ in
services.flatpak.packages = lib.mkIf cfg.roblox.enable [ services.flatpak.packages = lib.mkIf cfg.roblox.enable [
{ {
flatpakref = "./sober.flatpakref"; flatpakref = ./sober.flatpakref;
sha256 = "sha256:1pj8y1xhiwgbnhrr3yr3ybpfis9slrl73i0b1lc9q89vhip6ym2l";
}
{
appId = "org.vinegarhq.Sober"; appId = "org.vinegarhq.Sober";
origin = "sober";
} }
]; ];