htop: verify htoprc contents for example settings test
Fix ending the generated htoprc with a newline.
This commit is contained in:
parent
e4553546cc
commit
447f80f676
3 changed files with 16 additions and 2 deletions
|
|
@ -146,7 +146,8 @@ in {
|
|||
home.packages = [ pkgs.htop ];
|
||||
|
||||
xdg.configFile."htop/htoprc" = mkIf (cfg.settings != { }) {
|
||||
text = concatStringsSep "\n" (mapAttrsToList formatOption cfg.settings);
|
||||
text = concatStringsSep "\n" (mapAttrsToList formatOption cfg.settings)
|
||||
+ "\n";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue