2021-11-04 16:42:44 +00:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
{
|
|
|
|
config = {
|
|
|
|
programs.bottom = {
|
|
|
|
enable = true;
|
|
|
|
package = config.lib.test.mkStubPackage { };
|
|
|
|
};
|
|
|
|
|
2023-01-10 09:35:00 +00:00
|
|
|
nmt.script = let
|
|
|
|
configDir = if pkgs.stdenv.isDarwin then
|
|
|
|
"home-files/Library/Application Support"
|
|
|
|
else
|
|
|
|
"home-files/.config";
|
|
|
|
in ''
|
|
|
|
assertPathNotExists ${configDir}/bottom
|
2021-11-04 16:42:44 +00:00
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|