1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-19 17:49:45 +01:00

broot: simplify test slightly

This commit is contained in:
Robert Helgesson 2022-12-28 20:49:19 +01:00
parent 18b56e3f7d
commit d7a3c26854
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -1,9 +1,6 @@
{ config, lib, pkgs, ... }: { ... }:
with lib;
{ {
config = {
programs.broot = { programs.broot = {
enable = true; enable = true;
settings.modal = true; settings.modal = true;
@ -12,7 +9,7 @@ with lib;
nmt.script = '' nmt.script = ''
assertFileExists home-files/.config/broot/conf.toml assertFileExists home-files/.config/broot/conf.toml
assertFileContent home-files/.config/broot/conf.toml ${ assertFileContent home-files/.config/broot/conf.toml ${
pkgs.writeText "broot.expected" '' builtins.toFile "broot.expected" ''
content_search_max_file_size = "10MB" content_search_max_file_size = "10MB"
imports = ["verbs.hjson", {file = "dark-blue-skin.hjson", luma = ["dark", "unknown"]}, {file = "white-skin.hjson", luma = "light"}] imports = ["verbs.hjson", {file = "dark-blue-skin.hjson", luma = ["dark", "unknown"]}, {file = "white-skin.hjson", luma = "light"}]
modal = true modal = true
@ -26,5 +23,4 @@ with lib;
'' ''
} }
''; '';
};
} }