remove custom gamescope & bottles
This commit is contained in:
parent
6b8e781dae
commit
3b73c0011a
4 changed files with 0 additions and 36 deletions
|
|
@ -1,28 +0,0 @@
|
||||||
{
|
|
||||||
gamescope,
|
|
||||||
fetchFromGitHub,
|
|
||||||
}:
|
|
||||||
|
|
||||||
let
|
|
||||||
rev = "9416ca9334da7ff707359e5f6aa65dcfff66aa01";
|
|
||||||
in
|
|
||||||
gamescope.overrideAttrs (oldAttrs: {
|
|
||||||
version = "unstable-20251206105151-9416ca";
|
|
||||||
NIX_CFLAGS_COMPILE = [ "-fno-fast-math" ];
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
|
||||||
inherit rev;
|
|
||||||
owner = "ValveSoftware";
|
|
||||||
repo = "gamescope";
|
|
||||||
fetchSubmodules = true;
|
|
||||||
hash = "sha256-bZXyNmhLG1ZcD9nNKG/BElp6I57GAwMSqAELu2IZnqA=";
|
|
||||||
};
|
|
||||||
|
|
||||||
# Unsure if this bit is necessary, though I guess it's nice to have the version gamescope shows match
|
|
||||||
postPatch = (oldAttrs.postPatch or "") + ''
|
|
||||||
substituteInPlace src/meson.build \
|
|
||||||
--replace-fail "'git', 'describe', '--always', '--tags', '--dirty=+'" "'echo', '${rev}'"
|
|
||||||
|
|
||||||
patchShebangs default_extras_install.sh
|
|
||||||
'';
|
|
||||||
})
|
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
final: prev: {
|
final: prev: {
|
||||||
spotify-webapp = final.callPackage ./spotify-webapp { };
|
spotify-webapp = final.callPackage ./spotify-webapp { };
|
||||||
bibata-cursor = final.callPackage ./bibata-cursor { };
|
bibata-cursor = final.callPackage ./bibata-cursor { };
|
||||||
gamescope-unstable = final.callPackage ./gamescope { };
|
|
||||||
|
|
||||||
openmw-unstable = prev.openmw.overrideAttrs (oldAttrs: {
|
openmw-unstable = prev.openmw.overrideAttrs (oldAttrs: {
|
||||||
pname = "openmw";
|
pname = "openmw";
|
||||||
|
|
|
||||||
|
|
@ -51,7 +51,6 @@
|
||||||
programs = {
|
programs = {
|
||||||
gamescope = {
|
gamescope = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.gamescope-unstable;
|
|
||||||
capSysNice = false;
|
capSysNice = false;
|
||||||
args = [
|
args = [
|
||||||
"--output-width 3840"
|
"--output-width 3840"
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,6 @@
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
ddcutil
|
ddcutil
|
||||||
mangohud
|
mangohud
|
||||||
(bottles.override { removeWarningPopup = true; })
|
|
||||||
openrgb
|
openrgb
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
@ -71,11 +70,6 @@
|
||||||
virtualisation.hypervGuest.enable = true;
|
virtualisation.hypervGuest.enable = true;
|
||||||
boot.blacklistedKernelModules = [ "hyperv_fb" ];
|
boot.blacklistedKernelModules = [ "hyperv_fb" ];
|
||||||
|
|
||||||
boot.binfmt.emulatedSystems = [
|
|
||||||
"aarch64-linux"
|
|
||||||
"riscv64-linux"
|
|
||||||
];
|
|
||||||
|
|
||||||
# i don't even remember what this does or why i added it
|
# i don't even remember what this does or why i added it
|
||||||
systemd.tmpfiles.rules = [
|
systemd.tmpfiles.rules = [
|
||||||
"L+ /var/lib/qemu/firmware - - - - ${pkgs.qemu}/share/qemu/firmware"
|
"L+ /var/lib/qemu/firmware - - - - ${pkgs.qemu}/share/qemu/firmware"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue