1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2025-01-27 11:25:02 +01:00
home-manager/tests/modules/programs/bacon/empty-config.nix

16 lines
294 B
Nix
Raw Normal View History

{ pkgs, ... }:
let
configDir = if pkgs.stdenv.isDarwin then
"Library/Application Support/org.dystroy.bacon"
else
".config/bacon";
in {
programs.bacon.enable = true;
test.stubs.bacon = { };
nmt.script = ''
assertPathNotExists 'home-files/${configDir}/prefs.toml'
'';
}