2021-05-14 22:42:00 +02:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
2021-09-26 11:08:45 +02:00
|
|
|
{
|
2021-05-14 22:42:00 +02:00
|
|
|
config = {
|
|
|
|
programs.foot = {
|
2021-09-26 11:08:45 +02:00
|
|
|
package = config.lib.test.mkStubPackage { outPath = "@foot@"; };
|
2021-05-14 22:42:00 +02:00
|
|
|
enable = true;
|
|
|
|
server.enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
nmt.script = ''
|
2021-07-01 20:05:37 +02:00
|
|
|
assertPathNotExists home-files/.config/foot/foot.ini
|
2021-05-14 22:42:00 +02:00
|
|
|
|
|
|
|
assertFileContent \
|
|
|
|
home-files/.config/systemd/user/foot.service \
|
|
|
|
${./systemd-user-service-expected.service}
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|