mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-08 19:46:05 +01:00
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>
19 lines
357 B
Nix
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}
|
|
'';
|
|
}
|