mirror of
https://github.com/nix-community/home-manager.git
synced 2026-10-02 19:49:18 +00:00
16 lines
290 B
Nix
16 lines
290 B
Nix
{ pkgs, ... }:
|
|
let
|
|
configDir =
|
|
if pkgs.stdenv.hostPlatform.isDarwin then
|
|
"Library/Application Support/org.dystroy.bacon"
|
|
else
|
|
".config/bacon";
|
|
in
|
|
{
|
|
programs.bacon.enable = true;
|
|
|
|
nmt.script = ''
|
|
assertPathNotExists 'home-files/${configDir}/prefs.toml'
|
|
'';
|
|
}
|