htop: verify htoprc contents for example settings test

Fix ending the generated htoprc with a newline.
This commit is contained in:
Bart Bakker 2021-07-29 14:38:01 +02:00 committed by Robert Helgesson
parent e4553546cc
commit 447f80f676
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89
3 changed files with 16 additions and 2 deletions

View file

@ -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";
};
};
}