mirror of
https://github.com/Dichgrem/DCGOS.git
synced 2025-12-17 03:31:59 -05:00
fix:niri_screencast
Version 372 -> 373: firefox: 145.0.1 → 145.0.2, +28.3 KiB firefox-unwrapped: 145.0.1 → 145.0.2, +69.9 KiB gpsd: 3.26.1 → 3.27, +250.2 KiB gui-for-singbox: 1.13.0 → 1.15.1, +40.5 KiB hyprutils: 0.10.2 → 0.10.3, +101.0 KiB initrd-linux: +103.9 KiB librime: 1.14.0 → 1.15.0, +31.3 KiB libtraceevent: 1.8.5 → 1.8.6, +15.2 KiB libwacom: 2.16.1 → 2.17.0, +61.2 KiB linux: 6.17.9-modules → ∅, -2881.9 KiB linux-firmware: 20251111 → 20251125, +13275.6 KiB nixos-rebuild-ng: 25.11 → 26.05 nixos-system-dos: 25.11.20251124.5ae3b07 → 26.05.20251127.2fad6ea onlyoffice-desktopeditors: 9.0.0, 9.0.0-fhsenv → 9.1.0, 9.1.0-fhsenv, +27117.5 KiB ruff: 0.14.5 → 0.14.6, +404.5 KiB source: +22.7 KiB vimplugin-luajit2.1-fzf-lua: 0.0.2308-1-unstable-0.0.2308-1 → 0.0.2311-1-unstable-0.0.2311-1 x86_energy_perf_policy: 6.12.58 → 6.12.59 xdg-desktop-portal-gnome.service: ε → ∅ zed-editor: 0.213.3 → 0.214.5, +2388.5 KiB
This commit is contained in:
@@ -8,44 +8,34 @@
|
||||
in
|
||||
with lib;
|
||||
mkIf (WM == "niri") {
|
||||
systemd.user.targets.niri-session = {
|
||||
Unit = {
|
||||
Description = "niri compositor session";
|
||||
Documentation = "man:systemd.special(7)";
|
||||
};
|
||||
Target = {
|
||||
After = "graphical-session-pre.target";
|
||||
BindsTo = "graphical-session.target";
|
||||
Wants = "graphical-session-pre.target";
|
||||
DefaultDependencies = false;
|
||||
};
|
||||
};
|
||||
systemd.user.services.xdg-desktop-portal-gnome = {
|
||||
Unit = {
|
||||
Description = "Portal service (GNOME implementation)";
|
||||
};
|
||||
Service = {
|
||||
Type = "dbus";
|
||||
BusName = "org.freedesktop.impl.portal.desktop.gnome";
|
||||
ExecStart = "${pkgs.xdg-desktop-portal-gnome}/libexec/xdg-desktop-portal-gnome";
|
||||
};
|
||||
};
|
||||
home.packages = with pkgs; [
|
||||
niri
|
||||
xwayland-satellite
|
||||
];
|
||||
systemd.user.targets.niri-session = {
|
||||
Unit = {
|
||||
After = "graphical-session-pre.target graphical-session.target";
|
||||
BindsTo = "graphical-session.target";
|
||||
Conflicts = "shutdown.target";
|
||||
DefaultDependencies = false;
|
||||
Description = "niri compositor session";
|
||||
Documentation = "man:systemd.special(7)";
|
||||
Wants = "graphical-session-pre.target";
|
||||
};
|
||||
};
|
||||
xdg.portal = {
|
||||
config = {
|
||||
common = {
|
||||
default = [
|
||||
"gnome"
|
||||
"gtk"
|
||||
];
|
||||
default = ["gtk"];
|
||||
"org.freedesktop.impl.portal.RemoteDesktop" = "gnome";
|
||||
"org.freedesktop.impl.portal.ScreenCast" = "gnome";
|
||||
"org.freedesktop.impl.portal.Screenshot" = "gnome";
|
||||
};
|
||||
};
|
||||
extraPortals = [
|
||||
pkgs.xdg-desktop-portal-gtk
|
||||
pkgs.xdg-desktop-portal-gnome
|
||||
];
|
||||
configPackages = [pkgs.niri];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user