fwbook fixes + nbot bump;

This commit is contained in:
ari committed 2026-11-22 10:31:39 -05:00
1 parent 89484504e4
commit e0d0f0d155
3 files changed
+29 -14

No files matched your search

+6
View File
@@ -17,6 +17,12 @@ let
};
in
{
# The desktop portal from unstable: 1.20.4 leaks memory with many short-lived
# clients (flatpak/xdg-desktop-portal#1416, fixed in 1.21.0).
nixpkgs.overlays = [
(_final: _prev: { xdg-desktop-portal = unstablePkgs.xdg-desktop-portal; })
];
environment.systemPackages =
(with pkgs; [
# Desktop & theme
+10 -1
View File
@@ -2,9 +2,18 @@
{
systemd.services.systemd-udev-settle.enable = false;
# Snapper needs a .snapshots subvolume in each snapshotted volume
systemd.tmpfiles.rules = [
# Snapper needs a .snapshots subvolume in each snapshotted volume
"v /.snapshots 0750 root root -"
"v /home/.snapshots 0750 root root -"
# Clear nix-shell leftovers in /tmp (a tmpfs) unused for a day
"e /tmp/nix-shell.* - - - 1d"
];
# Cap the desktop portal; it leaked to 19.6 GB and was OOM-killed on 2026-11-22.
# At the cap it is killed, with no swap first, and D-Bus starts it again.
systemd.user.services.xdg-desktop-portal.serviceConfig = {
MemoryMax = "1G";
MemorySwapMax = "0";
};
}