
This reverts commit 666eee4f72
(#2091).
As of NixOS/nixpkgs#128121, which incorporated changes from:
https://codeberg.org/dnkl/foot/pulls/588/, foot no longer
errors if there is no config file.
17 lines
272 B
Nix
17 lines
272 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
with lib;
|
|
|
|
{
|
|
config = {
|
|
programs.foot.enable = true;
|
|
|
|
nixpkgs.overlays =
|
|
[ (self: super: { foot = pkgs.writeScriptBin "dummy-foot" ""; }) ];
|
|
|
|
nmt.script = ''
|
|
assertPathNotExists home-files/.config/foot
|
|
'';
|
|
};
|
|
}
|