1
0
mirror of https://github.com/nix-community/home-manager synced 2024-07-07 22:03:27 +02:00
home-manager/tests/modules/programs/bottom/empty-settings.nix

22 lines
388 B
Nix
Raw Normal View History

{ config, lib, pkgs, ... }:
with lib;
{
config = {
programs.bottom = {
enable = true;
package = config.lib.test.mkStubPackage { };
};
nmt.script = let
configDir = if pkgs.stdenv.isDarwin then
"home-files/Library/Application Support"
else
"home-files/.config";
in ''
assertPathNotExists ${configDir}/bottom
'';
};
}