Files
home-manager/tests/modules/programs/superfile/empty-settings.nix
K900 0668fdbc15 treewide: stdenv.is* -> stdenv.hostPlatform.is*
Nixpkgs officialy deprecated the former.
2026-08-13 08:40:58 +02:00

20 lines
386 B
Nix

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