mirror of
https://github.com/nix-community/home-manager.git
synced 2025-03-06 16:57:03 +00:00
parent
61d8f8366f
commit
cb3f6e9b59
1 changed files with 4 additions and 4 deletions
|
@ -172,7 +172,7 @@ in {
|
|||
|
||||
home.packages = [ cfg.package ];
|
||||
|
||||
xdg.configFile."htop/htoprc" = let
|
||||
xdg.configFile."htop" = let
|
||||
defaults = {
|
||||
fields = if isDarwin then
|
||||
remove fields.M_SHARE defaultFields
|
||||
|
@ -189,9 +189,9 @@ in {
|
|||
formatOptions = mapAttrsToList formatOption;
|
||||
|
||||
in mkIf (cfg.settings != { }) {
|
||||
text =
|
||||
concatStringsSep "\n" (formatOptions before ++ formatOptions settings)
|
||||
+ "\n";
|
||||
source = pkgs.writeTextDir "htoprc"
|
||||
(concatStringsSep "\n" (formatOptions before ++ formatOptions settings)
|
||||
+ "\n");
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue