fork/home-manager

git clone https://git.julia.blue/fork/home-manager

Utkarsh Guptabottom: use xdg.configHome on Darwine17e5e4f

master
482 B27 linesraw
1{ config, lib, pkgs, ... }:
2
3with lib;
4
5{
6  config = {
7    programs.bottom = {
8      enable = true;
9      package = config.lib.test.mkStubPackage { };
10
11      settings = {
12        flags = {
13          avg_cpu = true;
14          temperature_type = "c";
15        };
16
17        colors = { low_battery_color = "red"; };
18      };
19    };
20
21    nmt.script = ''
22      assertFileContent \
23        "home-files/.config/bottom/bottom.toml" \
24        ${./example-settings-expected.toml}
25    '';
26  };
27}