mirror of
https://github.com/nix-community/home-manager
synced 2024-11-14 23:29:46 +01:00
91450f23ce
* htop: add some missing meters * htop: replace individual options with 'settings' Deprecate all options and introduce `settings` for setting htop configuration values in Nix configuration. Use `lib.htop` to provide `fields` and `modes` for easy access to htop's integer configuration. And `leftMeters` and `rightMeters` functions for building the separate `*_meters` and `*_meter_modes` attributes. * htop: add release-notes 21.05 entry * htop: improve deprecation warnings Move default configuration into `settings` and make deprecated options default to `null`. Print deprecation warnings for any option that is non-null -- i.e. only show warnings for explicitly specified deprecated options. * htop: make self code owner of module * release notes: fix invalid programs.htop xref
13 lines
178 B
Nix
13 lines
178 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
with lib;
|
|
|
|
{
|
|
config = {
|
|
programs.htop.enable = true;
|
|
|
|
nmt.script = ''
|
|
assertFileExists home-files/.config/htop/htoprc
|
|
'';
|
|
};
|
|
}
|