1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-08 19:46:05 +01:00
home-manager/tests/modules/programs/sherlock/basic-configuration.nix
Austin Horstman a379077675 sherlock: init module
Creating a sherlock module for the sherlock launcher. Prefer a file be
controlled by a single option and using settings for the main config
file.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-08-05 20:33:37 -05:00

19 lines
357 B
Nix

{
programs.sherlock = {
enable = true;
settings = {
theme = "dark";
width = 500;
max_results = 8;
};
};
nmt.script =
let
configFile = "home-files/.config/sherlock/config.toml";
in
''
assertFileExists "${configFile}"
assertFileContent "${configFile}" ${./basic-configuration.toml}
'';
}