mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-12 01:59:37 +08:00
17 lines
332 B
Nix
17 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}
|
|
'';
|
|
}
|