diff --git a/modules/examples/lnl.nix b/modules/examples/lnl.nix index 90b67796..c012cf7f 100644 --- a/modules/examples/lnl.nix +++ b/modules/examples/lnl.nix @@ -1,4 +1,5 @@ { config, lib, pkgs, ... }: + { system.defaults.NSGlobalDomain.AppleKeyboardUIMode = 3; system.defaults.NSGlobalDomain.ApplePressAndHoldEnabled = false; @@ -324,6 +325,8 @@ fi ''; + environment.darwinConfig = "$HOME/.config/nixpkgs/darwin/configuration.nix"; + nix.nixPath = [ # Use local nixpkgs checkout instead of channels. "darwin-config=$HOME/.config/nixpkgs/darwin/configuration.nix" diff --git a/modules/examples/simple.nix b/modules/examples/simple.nix index 9f18ef1e..1efbdb24 100644 --- a/modules/examples/simple.nix +++ b/modules/examples/simple.nix @@ -7,6 +7,10 @@ [ pkgs.vim ]; + # Use a custom configuration.nix location. + # $ darwin-rebuild switch -I darwin-config=$HOME/.config/nixpkgs/darwin/configuration.nix + # environment.darwinConfig = "$HOME/.config/nixpkgs/darwin/configuration.nix"; + # Auto upgrade nix package and the daemon service. # services.nix-daemon.enable = true; # nix.package = pkgs.nix;