1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-04-13 15:57:47 +00:00
home-manager/tests/modules/programs/superfile/empty-settings.nix

17 lines
324 B
Nix
Raw Normal View History

{ pkgs, lib, ... }:
{
programs.superfile.enable = true;
xdg.enable = lib.mkIf pkgs.stdenv.isDarwin false;
nmt.script = let
configDir = if !pkgs.stdenv.isDarwin then
".config/superfile"
else
"Library/Application Support/superfile";
in ''
assertPathNotExists home-files/${configDir}
'';
}