mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-29 05:31:03 +01:00
16 lines
332 B
Nix
16 lines
332 B
Nix
{ 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}
|
|
'';
|
|
}
|