1
0
mirror of https://github.com/nix-community/home-manager synced 2024-07-03 03:48:31 +02:00
home-manager/tests/modules/programs/foot/empty-settings.nix
Rosario Pulella 666eee4f72
programs.foot: Always create config file (#2091)
foot complains if there is no config file.
2021-06-10 18:40:36 +02:00

20 lines
384 B
Nix

{ config, lib, pkgs, ... }:
with lib;
{
config = {
programs.foot.enable = true;
nixpkgs.overlays =
[ (self: super: { foot = pkgs.writeScriptBin "dummy-foot" ""; }) ];
nmt.script = ''
assertFileExists home-files/.config/foot/foot.ini
assertFileContent \
home-files/.config/foot/foot.ini \
${builtins.toFile "test" ""}
'';
};
}