mirror of
https://github.com/nix-community/home-manager.git
synced 2026-10-02 19:49:18 +00:00
20 lines
386 B
Nix
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}
|
|
'';
|
|
}
|