2021-07-02 22:36:30 +00:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
2021-11-04 16:42:44 +00:00
|
|
|
{
|
2021-07-02 22:36:30 +00:00
|
|
|
config = {
|
|
|
|
programs.foot = {
|
2021-11-04 16:42:44 +00:00
|
|
|
package = config.lib.test.mkStubPackage { outPath = "@foot@"; };
|
2021-07-02 22:36:30 +00:00
|
|
|
enable = true;
|
|
|
|
server.enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
nmt.script = ''
|
|
|
|
assertPathNotExists home-files/.config/foot/foot.ini
|
|
|
|
|
|
|
|
assertFileContent \
|
|
|
|
home-files/.config/systemd/user/foot.service \
|
|
|
|
${./systemd-user-service-expected.service}
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|