1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-26 19:59:47 +01:00
home-manager/tests/modules/programs/lf/minimal-options.nix

18 lines
348 B
Nix
Raw Normal View History

{ 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; };
test.stubs.lf = { };
nmt.script = ''
assertFileExists home-files/.config/lf/lfrc
assertFileContent home-files/.config/lf/lfrc ${expected}
'';
};
}