mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-08 19:46:05 +01:00
17 lines
373 B
Nix
17 lines
373 B
Nix
{ config, ... }:
|
|
{
|
|
services.swww = {
|
|
enable = true;
|
|
package = config.lib.test.mkStubPackage { outPath = "@swww@"; };
|
|
extraArgs = [
|
|
"--no-cache"
|
|
"--layer"
|
|
"bottom"
|
|
];
|
|
};
|
|
|
|
nmt.script = ''
|
|
serviceFile=home-files/.config/systemd/user/swww.service
|
|
assertFileContent $serviceFile ${./swww-graphical-session-target.service}
|
|
'';
|
|
}
|