mirror of
https://github.com/nix-community/home-manager.git
synced 2025-03-10 10:47:02 +00:00
23 lines
459 B
Nix
23 lines
459 B
Nix
{ config, ... }: {
|
|
config = {
|
|
programs.bottom = {
|
|
enable = true;
|
|
package = config.lib.test.mkStubPackage { };
|
|
|
|
settings = {
|
|
flags = {
|
|
avg_cpu = true;
|
|
temperature_type = "c";
|
|
};
|
|
|
|
colors = { low_battery_color = "red"; };
|
|
};
|
|
};
|
|
|
|
nmt.script = ''
|
|
assertFileContent \
|
|
"home-files/.config/bottom/bottom.toml" \
|
|
${./example-settings-expected.toml}
|
|
'';
|
|
};
|
|
}
|