fwbook fixes + nbot bump;
This commit is contained in:
1 parent
89484504e4
commit
e0d0f0d155
3 files changed
+29
-14
No files matched your search
Generated
+13
-13
@@ -2143,11 +2143,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1795206835,
|
"lastModified": 1795219795,
|
||||||
"narHash": "sha256-9MP7M7Ifw6nU+K+38rymjG+z6a1jSJSQxzvMzFNcwoM=",
|
"narHash": "sha256-UWkSni5iiZrFCnqLTLaK8dg289YVwYnHd0NJKFS7xBI=",
|
||||||
"ref": "refs/heads/main",
|
"ref": "refs/heads/main",
|
||||||
"rev": "d6b3a8eababef6389895e126814659476e2ae1ee",
|
"rev": "637faaa418da6b01ba8d0c51dac3c8a4937e7a4f",
|
||||||
"revCount": 261,
|
"revCount": 288,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "ssh://git@github.com/SkyG-Org/LoopRail.git"
|
"url": "ssh://git@github.com/SkyG-Org/LoopRail.git"
|
||||||
},
|
},
|
||||||
@@ -2161,16 +2161,16 @@
|
|||||||
"nixpkgs": "nixpkgs_11"
|
"nixpkgs": "nixpkgs_11"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1795060300,
|
"lastModified": 1795208433,
|
||||||
"narHash": "sha256-T+k1mIiNGYPQFfvorraVlEy5qDIqMHtdprkbWFCOJ7k=",
|
"narHash": "sha256-2Y06ZeeX7X8AcIZ7JIq/+88d9DpFSYO8lO0BV4XRRNE=",
|
||||||
"ref": "refs/heads/main",
|
"ref": "refs/heads/main",
|
||||||
"rev": "70be15ae9d29264dd85c892b86209af486a92e6a",
|
"rev": "3ea535838ab125160c049d795dce625dec49396c",
|
||||||
"revCount": 136,
|
"revCount": 265,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "ssh://git@github.com/SkyG-Org/LoopRail.git"
|
"url": "ssh://git@github.com/SkyG-Org/LoopRail.git"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"rev": "70be15ae9d29264dd85c892b86209af486a92e6a",
|
"rev": "3ea535838ab125160c049d795dce625dec49396c",
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "ssh://git@github.com/SkyG-Org/LoopRail.git"
|
"url": "ssh://git@github.com/SkyG-Org/LoopRail.git"
|
||||||
}
|
}
|
||||||
@@ -2244,11 +2244,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1795132051,
|
"lastModified": 1795308743,
|
||||||
"narHash": "sha256-xPfYpDSNbLda+oKo/MIKEua20dKh/XoB4Tx5uUbeF5Q=",
|
"narHash": "sha256-YU5VXLKti6rBDzzzNaGqJ3uaUsk2g4FIzcLHMcMDQrE=",
|
||||||
"ref": "refs/heads/main",
|
"ref": "refs/heads/main",
|
||||||
"rev": "87839b5992e215f43e69833359b8c76e89027495",
|
"rev": "02631ef7dcdbe64b0d3cb9666a564a0026e8d625",
|
||||||
"revCount": 1702,
|
"revCount": 1712,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "ssh://git@github.com/SkyG-Org/nBot.git"
|
"url": "ssh://git@github.com/SkyG-Org/nBot.git"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -17,6 +17,12 @@ let
|
|||||||
};
|
};
|
||||||
in
|
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 =
|
environment.systemPackages =
|
||||||
(with pkgs; [
|
(with pkgs; [
|
||||||
# Desktop & theme
|
# Desktop & theme
|
||||||
|
|||||||
@@ -2,9 +2,18 @@
|
|||||||
{
|
{
|
||||||
systemd.services.systemd-udev-settle.enable = false;
|
systemd.services.systemd-udev-settle.enable = false;
|
||||||
|
|
||||||
# Snapper needs a .snapshots subvolume in each snapshotted volume
|
|
||||||
systemd.tmpfiles.rules = [
|
systemd.tmpfiles.rules = [
|
||||||
|
# Snapper needs a .snapshots subvolume in each snapshotted volume
|
||||||
"v /.snapshots 0750 root root -"
|
"v /.snapshots 0750 root root -"
|
||||||
"v /home/.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";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user