mirror of
https://github.com/nix-community/home-manager
synced 2024-11-16 16:19:44 +01:00
20 lines
462 B
Nix
20 lines
462 B
Nix
|
{ config, ... }:
|
||
|
|
||
|
{
|
||
|
services.fusuma = {
|
||
|
enable = true;
|
||
|
package = config.lib.test.mkStubPackage { outPath = "@fusuma@"; };
|
||
|
extraPackages = [
|
||
|
(config.lib.test.mkStubPackage { outPath = "@coreutils@"; })
|
||
|
(config.lib.test.mkStubPackage { outPath = "@xdotool@"; })
|
||
|
];
|
||
|
settings = { };
|
||
|
};
|
||
|
|
||
|
nmt.script = ''
|
||
|
assertFileContent \
|
||
|
home-files/.config/systemd/user/fusuma.service \
|
||
|
${./expected-service.service}
|
||
|
'';
|
||
|
}
|