1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-03-10 10:47:02 +00:00
home-manager/tests/modules/programs/mangohud/basic-configuration.conf
Sebastián Zavala Villagómez 9616d81f98
mangohud: make false values actually disable (#6299)
Currently the following, will produce `some_opt=false` in the
rendered config:

```nix
programs.mangohud.settings = {
  some_opt = false;
};
```

With the intention being to disable the option, this would be
incorrect, as per the following stated at:
<0575c8eb1f/data/MangoHud.conf (L3C5-L4C1)>

> Use some_parameter=0 to disable a parameter (only works with on/off
> parameters)

As such, I changed the rendering to follow this.
This will be output instead: `some_opt=0`
2025-01-13 16:20:04 +01:00

13 lines
229 B
Text

cpu_load_change
cpu_load_value
cpu_mhz
cpu_power
cpu_stats
cpu_temp
cpu_text=CPU
fps_limit=30,60
legacy_layout=0
media_player_name=spotify
media_player_order=title,artist,album
output_folder=/home/user/Documents/mangohud
vsync=0