mirror of
https://github.com/nix-community/home-manager
synced 2024-11-16 08:09:45 +01:00
7df6656b11
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.
16 lines
272 B
Nix
16 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
|
|
'';
|
|
};
|
|
}
|