mirror of
https://github.com/nix-community/home-manager.git
synced 2025-04-13 15:57:47 +00:00
17 lines
324 B
Nix
17 lines
324 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}
|
||
|
'';
|
||
|
}
|