Corfrected hyprland.nix

This commit is contained in:
2026-03-02 18:18:00 +01:00
parent a7dd7171bb
commit 0fbd204c8e
2 changed files with 2 additions and 6 deletions
+1 -6
View File
@@ -1797,10 +1797,7 @@ in
{ {
wayland.windowManager.hyprland = { wayland.windowManager.hyprland = {
enable = true; enable = true;
# Load bindings from repo files configFile.extraConfig = builtins.readFile bindingsConf;
# --- Repo keybindings ---
${builtins.readFile bindingsConf}
'';
settings = { settings = {
windowrule = [ windowrule = [
"match:class nm-connection-editor, float 1, center 1, size 900 700" "match:class nm-connection-editor, float 1, center 1, size 900 700"
@@ -1813,9 +1810,7 @@ in
xdg-desktop-portal-gtk xdg-desktop-portal-gtk
xdg-desktop-portal-hyprland xdg-desktop-portal-hyprland
]; ];
# GTK als algemene backend (OpenURI is daar betrouwbaar)
config.common.default = [ "gtk" ]; config.common.default = [ "gtk" ];
# Hyprland alleen voor screensharing / remote desktop
config.hyprland = { config.hyprland = {
"org.freedesktop.impl.portal.Screencast" = [ "hyprland" ]; "org.freedesktop.impl.portal.Screencast" = [ "hyprland" ];
"org.freedesktop.impl.portal.RemoteDesktop" = [ "hyprland" ]; "org.freedesktop.impl.portal.RemoteDesktop" = [ "hyprland" ];
+1
View File
@@ -10,6 +10,7 @@ in
# --- Repo keybindings --- # --- Repo keybindings ---
${builtins.readFile bindingsConf} ${builtins.readFile bindingsConf}
''; '';
};
settings = { settings = {
windowrule = [ windowrule = [
"match:class nm-connection-editor, float 1, center 1, size 900 700" "match:class nm-connection-editor, float 1, center 1, size 900 700"