mirror of
https://github.com/nix-community/home-manager
synced 2024-11-15 23:59:45 +01:00
19 lines
416 B
Nix
19 lines
416 B
Nix
|
{ config, lib, pkgs, ... }:
|
||
|
|
||
|
with lib;
|
||
|
|
||
|
let expected = builtins.toFile "settings-expected" "\n\n\n\n\n\n\n\n\n\n\n";
|
||
|
in {
|
||
|
config = {
|
||
|
programs.lf = { enable = true; };
|
||
|
|
||
|
nixpkgs.overlays =
|
||
|
[ (self: super: { lf = pkgs.writeScriptBin "dummy-lf" ""; }) ];
|
||
|
|
||
|
nmt.script = ''
|
||
|
assertFileExists home-files/.config/lf/lfrc
|
||
|
assertFileContent home-files/.config/lf/lfrc ${expected}
|
||
|
'';
|
||
|
};
|
||
|
}
|