swww: add extraArgs for swww-daemon

This commit is contained in:
Lin Xianyi 2025-08-11 18:54:27 +08:00 committed by Austin Horstman
parent e11d6c321f
commit 627a3932b9
3 changed files with 21 additions and 2 deletions

View file

@ -3,6 +3,11 @@
services.swww = {
enable = true;
package = config.lib.test.mkStubPackage { outPath = "@swww@"; };
extraArgs = [
"--no-cache"
"--layer"
"bottom"
];
};
nmt.script = ''

View file

@ -2,7 +2,7 @@
WantedBy=graphical-session.target
[Service]
ExecStart=@swww@/bin/swww-daemon
ExecStart=@swww@/bin/swww-daemon --no-cache --layer bottom
Restart=always
RestartSec=10