feat: combined patch from koishi

This commit is contained in:
Kat Inskip 2025-08-10 14:08:29 -06:00
parent 3041f5458f
commit 7a0f09e700
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
5 changed files with 169 additions and 9 deletions

42
flake.lock generated
View file

@ -931,9 +931,7 @@
}, },
"niri": { "niri": {
"inputs": { "inputs": {
"niri-stable": [ "niri-stable": "niri-stable",
"empty"
],
"niri-unstable": "niri-unstable", "niri-unstable": "niri-unstable",
"nixpkgs": [ "nixpkgs": [
"nixpkgs" "nixpkgs"
@ -941,9 +939,7 @@
"nixpkgs-stable": [ "nixpkgs-stable": [
"nixpkgs" "nixpkgs"
], ],
"xwayland-satellite-stable": [ "xwayland-satellite-stable": "xwayland-satellite-stable",
"empty"
],
"xwayland-satellite-unstable": "xwayland-satellite-unstable" "xwayland-satellite-unstable": "xwayland-satellite-unstable"
}, },
"locked": { "locked": {
@ -960,6 +956,23 @@
"type": "github" "type": "github"
} }
}, },
"niri-stable": {
"flake": false,
"locked": {
"lastModified": 1748151941,
"narHash": "sha256-z4viQZLgC2bIJ3VrzQnR+q2F3gAOEQpU1H5xHtX/2fs=",
"owner": "YaLTeR",
"repo": "niri",
"rev": "8ba57fcf25d2fc9565131684a839d58703f1dae7",
"type": "github"
},
"original": {
"owner": "YaLTeR",
"ref": "v25.05.1",
"repo": "niri",
"type": "github"
}
},
"niri-unstable": { "niri-unstable": {
"flake": false, "flake": false,
"locked": { "locked": {
@ -1854,6 +1867,23 @@
"type": "github" "type": "github"
} }
}, },
"xwayland-satellite-stable": {
"flake": false,
"locked": {
"lastModified": 1748488455,
"narHash": "sha256-IiLr1alzKFIy5tGGpDlabQbe6LV1c9ABvkH6T5WmyRI=",
"owner": "Supreeeme",
"repo": "xwayland-satellite",
"rev": "3ba30b149f9eb2bbf42cf4758d2158ca8cceef73",
"type": "github"
},
"original": {
"owner": "Supreeeme",
"ref": "v0.6",
"repo": "xwayland-satellite",
"type": "github"
}
},
"xwayland-satellite-unstable": { "xwayland-satellite-unstable": {
"flake": false, "flake": false,
"locked": { "locked": {

View file

@ -35,7 +35,7 @@ in {
personalBindings = { personalBindings = {
"Mod+Return".action = sh ''${getExe config.programs.alacritty.package}''; "Mod+Return".action = sh ''${getExe config.programs.alacritty.package}'';
"Mod+T".action.toggle-window-floating = {}; "Mod+T".action.toggle-window-floating = {};
"Mod+D".action = sh ''${getExe config.programs.fuzzel.package} -T "${getExe config.programs.alacritty.package} --command"''; "Mod+D".action = sh ''${getExe config.programs.fuzzel.package} -D no -T "${getExe config.programs.alacritty.package} --command"'';
"Mod+Escape".action = sh ''${getExe config.programs.wlogout.package} -p layer-shell''; "Mod+Escape".action = sh ''${getExe config.programs.wlogout.package} -p layer-shell'';
"Mod+Shift+Escape".action = sh ''${getExe config.programs.swaylock.package} -f''; "Mod+Shift+Escape".action = sh ''${getExe config.programs.swaylock.package} -f'';
"Mod+Alt+Tab" = { "Mod+Alt+Tab" = {

122
meep.patch Normal file
View file

@ -0,0 +1,122 @@
diff --git a/flake.lock b/flake.lock
index b7b8e97c..200d0fbd 100644
--- a/flake.lock
+++ b/flake.lock
@@ -931,9 +931,7 @@
},
"niri": {
"inputs": {
- "niri-stable": [
- "empty"
- ],
+ "niri-stable": "niri-stable",
"niri-unstable": "niri-unstable",
"nixpkgs": [
"nixpkgs"
@@ -941,9 +939,7 @@
"nixpkgs-stable": [
"nixpkgs"
],
- "xwayland-satellite-stable": [
- "empty"
- ],
+ "xwayland-satellite-stable": "xwayland-satellite-stable",
"xwayland-satellite-unstable": "xwayland-satellite-unstable"
},
"locked": {
@@ -960,6 +956,23 @@
"type": "github"
}
},
+ "niri-stable": {
+ "flake": false,
+ "locked": {
+ "lastModified": 1748151941,
+ "narHash": "sha256-z4viQZLgC2bIJ3VrzQnR+q2F3gAOEQpU1H5xHtX/2fs=",
+ "owner": "YaLTeR",
+ "repo": "niri",
+ "rev": "8ba57fcf25d2fc9565131684a839d58703f1dae7",
+ "type": "github"
+ },
+ "original": {
+ "owner": "YaLTeR",
+ "ref": "v25.05.1",
+ "repo": "niri",
+ "type": "github"
+ }
+ },
"niri-unstable": {
"flake": false,
"locked": {
@@ -1854,6 +1867,23 @@
"type": "github"
}
},
+ "xwayland-satellite-stable": {
+ "flake": false,
+ "locked": {
+ "lastModified": 1748488455,
+ "narHash": "sha256-IiLr1alzKFIy5tGGpDlabQbe6LV1c9ABvkH6T5WmyRI=",
+ "owner": "Supreeeme",
+ "repo": "xwayland-satellite",
+ "rev": "3ba30b149f9eb2bbf42cf4758d2158ca8cceef73",
+ "type": "github"
+ },
+ "original": {
+ "owner": "Supreeeme",
+ "ref": "v0.6",
+ "repo": "xwayland-satellite",
+ "type": "github"
+ }
+ },
"xwayland-satellite-unstable": {
"flake": false,
"locked": {
diff --git a/nixos/profiles/gaming/lutris.nix b/nixos/profiles/gaming/lutris.nix
index 6176dd69..4d6ea927 100644
--- a/nixos/profiles/gaming/lutris.nix
+++ b/nixos/profiles/gaming/lutris.nix
@@ -11,6 +11,7 @@
};
environment.systemPackages = with pkgs; [
protonplus
+ gamescope-wsi
(lutris.override {
extraPkgs = pkgs: [
#pkgs.gamescope
diff --git a/systems/goliath.nix b/systems/goliath.nix
index 0f50296f..b77690de 100644
--- a/systems/goliath.nix
+++ b/systems/goliath.nix
@@ -97,7 +97,7 @@ _: let
"-model_sheet"
];
};
- programs.waybar.settings.main = {
+ waybar.settings.main = {
modules-center = [
"custom/nvidia-vram"
];
@@ -105,7 +105,7 @@ _: let
tooltip = false;
format = "nvidia {}";
interval = 1;
- exec = "${getExe' pkgs.nvidia-smi "nvidia-smi"} --query-gpu=memory.used,memory.total,pstate --format=csv,noheader,nounits";
+ exec = "${getExe' config.hardware.nvidia.package "nvidia-smi"} --query-gpu=memory.used,memory.total,pstate --format=csv,noheader,nounits";
return-type = "";
};
};
@@ -114,6 +114,13 @@ _: let
"LG Electronics LG Ultra HD 0x0001AC91" = {
scale = 1.0;
};
+ "PNP(XXX) Beyond TV 0x00010000" = {
+ mode = {
+ width = 2560;
+ height = 1440;
+ refresh = 119.998;
+ };
+ };
};
environment = {
NVD_BACKEND = "direct";

View file

@ -11,6 +11,7 @@
}; };
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
protonplus protonplus
gamescope-wsi
(lutris.override { (lutris.override {
extraPkgs = pkgs: [ extraPkgs = pkgs: [
#pkgs.gamescope #pkgs.gamescope

View file

@ -97,7 +97,7 @@ _: let
"-model_sheet" "-model_sheet"
]; ];
}; };
programs.waybar.settings.main = { waybar.settings.main = {
modules-center = [ modules-center = [
"custom/nvidia-vram" "custom/nvidia-vram"
]; ];
@ -105,7 +105,7 @@ _: let
tooltip = false; tooltip = false;
format = "nvidia {}"; format = "nvidia {}";
interval = 1; interval = 1;
exec = "${getExe' pkgs.nvidia-smi "nvidia-smi"} --query-gpu=memory.used,memory.total,pstate --format=csv,noheader,nounits"; exec = "${getExe' config.hardware.nvidia.package "nvidia-smi"} --query-gpu=memory.used,memory.total,pstate --format=csv,noheader,nounits";
return-type = ""; return-type = "";
}; };
}; };
@ -114,6 +114,13 @@ _: let
"LG Electronics LG Ultra HD 0x0001AC91" = { "LG Electronics LG Ultra HD 0x0001AC91" = {
scale = 1.0; scale = 1.0;
}; };
"PNP(XXX) Beyond TV 0x00010000" = {
mode = {
width = 2560;
height = 1440;
refresh = 119.998;
};
};
}; };
environment = { environment = {
NVD_BACKEND = "direct"; NVD_BACKEND = "direct";