WIP: fix steam generation switch
This commit is contained in:
parent
fa80743304
commit
e6c8979674
17
flake.lock
17
flake.lock
|
@ -422,6 +422,22 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"nixpkgs-fix-steam-generation-switching": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1666673293,
|
||||||
|
"narHash": "sha256-VpXToWKG743S+dxes6PZ5GbKGV8qTZ+Npmyg1vqGOX4=",
|
||||||
|
"owner": "zhaofengli",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "98773c9c5ef62c578ce22bac5d245401430e55db",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "zhaofengli",
|
||||||
|
"ref": "bwrap-fhs-preserve-etc-symlink",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"nixpkgs-regression": {
|
"nixpkgs-regression": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1643052045,
|
"lastModified": 1643052045,
|
||||||
|
@ -590,6 +606,7 @@
|
||||||
"nil-lsp": "nil-lsp",
|
"nil-lsp": "nil-lsp",
|
||||||
"nix-index-database": "nix-index-database",
|
"nix-index-database": "nix-index-database",
|
||||||
"nixpkgs": "nixpkgs_2",
|
"nixpkgs": "nixpkgs_2",
|
||||||
|
"nixpkgs-fix-steam-generation-switching": "nixpkgs-fix-steam-generation-switching",
|
||||||
"nixpkgs-unstable": "nixpkgs-unstable",
|
"nixpkgs-unstable": "nixpkgs-unstable",
|
||||||
"nur": "nur",
|
"nur": "nur",
|
||||||
"plymouth-themes": "plymouth-themes",
|
"plymouth-themes": "plymouth-themes",
|
||||||
|
|
|
@ -38,6 +38,8 @@
|
||||||
sea-orm-cli.url = "github:lucperkins/nixpkgs/lperkins/sea-orm-cli";
|
sea-orm-cli.url = "github:lucperkins/nixpkgs/lperkins/sea-orm-cli";
|
||||||
webcord.url = "github:huantianad/nixpkgs/webcord";
|
webcord.url = "github:huantianad/nixpkgs/webcord";
|
||||||
|
|
||||||
|
nixpkgs-fix-steam-generation-switching.url = "github:zhaofengli/nixpkgs/bwrap-fhs-preserve-etc-symlink";
|
||||||
|
|
||||||
nil-lsp.url = "github:oxalica/nil";
|
nil-lsp.url = "github:oxalica/nil";
|
||||||
nil-lsp.inputs.nixpkgs.follows = "nixpkgs-unstable";
|
nil-lsp.inputs.nixpkgs.follows = "nixpkgs-unstable";
|
||||||
|
|
||||||
|
|
|
@ -18,6 +18,10 @@
|
||||||
|
|
||||||
unstable = (final: prev: {
|
unstable = (final: prev: {
|
||||||
unstable = inputs.nixpkgs-unstable.legacyPackages.${prev.system};
|
unstable = inputs.nixpkgs-unstable.legacyPackages.${prev.system};
|
||||||
|
nixpkgs-fix-steam-generation-switching = import inputs.nixpkgs-fix-steam-generation-switching {
|
||||||
|
config = { allowUnfree = true; };
|
||||||
|
inherit system;
|
||||||
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
sixel-patches = (import ./sixel-patches.nix (inputs));
|
sixel-patches = (import ./sixel-patches.nix (inputs));
|
||||||
|
@ -60,7 +64,7 @@
|
||||||
patches = old.patches
|
patches = old.patches
|
||||||
++ [ ../patches/sway/fix-hide_cursor-clearing-focus.patch ];
|
++ [ ../patches/sway/fix-hide_cursor-clearing-focus.patch ];
|
||||||
});
|
});
|
||||||
steam = prev.steam.override {
|
steam = final.nixpkgs-fix-steam-generation-switching.steam.override {
|
||||||
extraPkgs = pkgs: with pkgs; [ capitaine-cursors bibata-cursors ];
|
extraPkgs = pkgs: with pkgs; [ capitaine-cursors bibata-cursors ];
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue