2021-05-14 22:42:00 +02:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
let
|
|
|
|
package = pkgs.writeShellScriptBin "dummy-foot" "" // { outPath = "@foot@"; };
|
|
|
|
in {
|
|
|
|
config = {
|
|
|
|
programs.foot = {
|
|
|
|
inherit package;
|
|
|
|
enable = true;
|
|
|
|
server.enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
nmt.script = ''
|
2021-06-10 18:40:36 +02:00
|
|
|
assertFileExists home-files/.config/foot/foot.ini
|
|
|
|
assertFileContent \
|
|
|
|
home-files/.config/foot/foot.ini \
|
|
|
|
${builtins.toFile "test" ""}
|
2021-05-14 22:42:00 +02:00
|
|
|
|
|
|
|
assertFileContent \
|
|
|
|
home-files/.config/systemd/user/foot.service \
|
|
|
|
${./systemd-user-service-expected.service}
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|