Setup xwayland support for niri
This commit is contained in:
parent
2ca27863d6
commit
80f5726dc0
37
flake.lock
37
flake.lock
|
|
@ -907,6 +907,22 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"nixpkgs_9": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1722630782,
|
||||||
|
"narHash": "sha256-hMyG9/WlUi0Ho9VkRrrez7SeNlDzLxalm9FwY7n/Noo=",
|
||||||
|
"owner": "nixos",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "d04953086551086b44b6f3c6b7eeb26294f207da",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nixos",
|
||||||
|
"ref": "nixos-unstable",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"pre-commit-hooks": {
|
"pre-commit-hooks": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-compat": [
|
"flake-compat": [
|
||||||
|
|
@ -1021,7 +1037,8 @@
|
||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager",
|
||||||
"niri": "niri",
|
"niri": "niri",
|
||||||
"nixd": "nixd",
|
"nixd": "nixd",
|
||||||
"nixpkgs": "nixpkgs_8"
|
"nixpkgs": "nixpkgs_8",
|
||||||
|
"xwayland-satellite-flake": "xwayland-satellite-flake"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"systems": {
|
"systems": {
|
||||||
|
|
@ -1114,6 +1131,24 @@
|
||||||
"repo": "xwayland-satellite",
|
"repo": "xwayland-satellite",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"xwayland-satellite-flake": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": "nixpkgs_9"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1722945455,
|
||||||
|
"narHash": "sha256-Rvc6wTyOVIFr9Euxxomw1VS7rLyj7g/W7xs4NKmdl0s=",
|
||||||
|
"owner": "cspark-development",
|
||||||
|
"repo": "xwayland-satellite-flake",
|
||||||
|
"rev": "4e1728ede8200e70809b42601693cb0c7ff41482",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "cspark-development",
|
||||||
|
"repo": "xwayland-satellite-flake",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"root": "root",
|
"root": "root",
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,10 @@
|
||||||
nixd = {
|
nixd = {
|
||||||
url = "github:nix-community/nixd";
|
url = "github:nix-community/nixd";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
xwayland-satellite-flake = {
|
||||||
|
url = "github:cspark-development/xwayland-satellite-flake";
|
||||||
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -36,6 +36,7 @@ in
|
||||||
mako &
|
mako &
|
||||||
swaybg -i ${config.home.homeDirectory}/Pictures/Wallpapers/ourdream.png &
|
swaybg -i ${config.home.homeDirectory}/Pictures/Wallpapers/ourdream.png &
|
||||||
wlsunset -l 51.5 -L 0.1 &
|
wlsunset -l 51.5 -L 0.1 &
|
||||||
|
xwayland-satellite & # Xwayland support via xwayland-satellite-flake
|
||||||
'')
|
'')
|
||||||
(writeShellScriptBin "fuzzel-pass"
|
(writeShellScriptBin "fuzzel-pass"
|
||||||
''
|
''
|
||||||
|
|
@ -78,6 +79,9 @@ fi
|
||||||
MOZ_ENABLE_WAYLAND = "1";
|
MOZ_ENABLE_WAYLAND = "1";
|
||||||
# Enable native wayland support for chromium and electron based applications
|
# Enable native wayland support for chromium and electron based applications
|
||||||
NIXOS_OZONE_WL = "1";
|
NIXOS_OZONE_WL = "1";
|
||||||
|
|
||||||
|
# Xwayland support via xwayland-satellite-flake
|
||||||
|
DISPLAY = ":0";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Start sway after login if on TTY1 (Default Linux TTY upon boot/login)
|
# Start sway after login if on TTY1 (Default Linux TTY upon boot/login)
|
||||||
|
|
|
||||||
|
|
@ -31,6 +31,7 @@ in
|
||||||
wlprop # Clone of X11 xprop for wayland (To get window class names etc)
|
wlprop # Clone of X11 xprop for wayland (To get window class names etc)
|
||||||
wev # Clone of X11 xev for wayland
|
wev # Clone of X11 xev for wayland
|
||||||
waybar # Status bar
|
waybar # Status bar
|
||||||
|
xwayland-satellite # Xwayland support via xwayland-satellite-flake
|
||||||
|
|
||||||
swayimg # Image viewer
|
swayimg # Image viewer
|
||||||
lxqt.pcmanfm-qt # File Manager
|
lxqt.pcmanfm-qt # File Manager
|
||||||
|
|
@ -122,6 +123,9 @@ in
|
||||||
MOZ_ENABLE_WAYLAND = "1";
|
MOZ_ENABLE_WAYLAND = "1";
|
||||||
# Enable native wayland support for chromium and electron based applications
|
# Enable native wayland support for chromium and electron based applications
|
||||||
NIXOS_OZONE_WL = "1";
|
NIXOS_OZONE_WL = "1";
|
||||||
|
|
||||||
|
# Xwayland support via xwayland-satellite-flake
|
||||||
|
DISPLAY = ":0";
|
||||||
};
|
};
|
||||||
environment.variables = {
|
environment.variables = {
|
||||||
TERM = "foot";
|
TERM = "foot";
|
||||||
|
|
@ -135,6 +139,9 @@ in
|
||||||
MOZ_ENABLE_WAYLAND = "1";
|
MOZ_ENABLE_WAYLAND = "1";
|
||||||
# Enable native wayland support for chromium and electron based applications
|
# Enable native wayland support for chromium and electron based applications
|
||||||
NIXOS_OZONE_WL = "1";
|
NIXOS_OZONE_WL = "1";
|
||||||
|
|
||||||
|
# Xwayland support via xwayland-satellite-flake
|
||||||
|
DISPLAY = ":0";
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue