mirror of
https://github.com/nix-community/home-manager
synced 2024-11-30 06:59:45 +01:00
9dad146639
Add new options Darwin options: - `targets.darwin.defaults` This adds options for configuring macOS through the `defaults(1)` system. This option can be used to manipulate a vast majority of user settings for macOS and its applications. This is implemented using freeform modules and includes additional descriptions and type information for some useful options. - `targets.darwin.keybindings` This adds options for configuring the default keybindings for macOS text fields. - `targets.darwin.search` This adds options for configuring the default search engine for macOS.
16 lines
568 B
Nix
16 lines
568 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
|
# Disabled for now due to conflicting behavior with nix-darwin. See
|
|
# https://github.com/nix-community/home-manager/issues/1341#issuecomment-687286866
|
|
config = lib.mkIf (false && pkgs.stdenv.hostPlatform.isDarwin) {
|
|
# Install MacOS applications to the user environment.
|
|
home.file."Applications/Home Manager Apps".source = let
|
|
apps = pkgs.buildEnv {
|
|
name = "home-manager-applications";
|
|
paths = config.home.packages;
|
|
pathsToLink = "/Applications";
|
|
};
|
|
in "${apps}/Applications";
|
|
};
|
|
}
|