mirror of
https://github.com/nix-community/home-manager
synced 2024-11-16 16:19:44 +01:00
666eee4f72
foot complains if there is no config file.
19 lines
384 B
Nix
19 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" ""}
|
|
'';
|
|
};
|
|
}
|