From 88b97aa49c451070d2978b291a6280f2e1c5c2b6 Mon Sep 17 00:00:00 2001 From: Emily Date: Tue, 10 Sep 2024 16:17:57 +0100 Subject: {ids,checks}: update for new builder UID/GID values --- modules/examples/simple.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/examples/simple.nix') diff --git a/modules/examples/simple.nix b/modules/examples/simple.nix index d146fde..1133da8 100644 --- a/modules/examples/simple.nix +++ b/modules/examples/simple.nix @@ -21,5 +21,5 @@ # Used for backwards compatibility, please read the changelog before changing. # $ darwin-rebuild changelog - system.stateVersion = 4; + system.stateVersion = 5; } -- cgit v1.2.3 From 470f87c1827b51169ed4f91cdbdfd48417bfff3d Mon Sep 17 00:00:00 2001 From: Michael Hoang Date: Thu, 31 Oct 2024 15:02:36 +1100 Subject: zsh: enable by default as zsh is the default shell on macOS Historically this was a footgun because users would not always have this enabled leading to `darwin-rebuild` and other programs not being found. --- modules/examples/simple.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'modules/examples/simple.nix') diff --git a/modules/examples/simple.nix b/modules/examples/simple.nix index 1133da8..5baf009 100644 --- a/modules/examples/simple.nix +++ b/modules/examples/simple.nix @@ -15,8 +15,7 @@ # services.nix-daemon.enable = true; # nix.package = pkgs.nix; - # Create /etc/zshrc that loads the nix-darwin environment. - programs.zsh.enable = true; # default shell on catalina + # Enable alternative shell support in nix-darwin. # programs.fish.enable = true; # Used for backwards compatibility, please read the changelog before changing. -- cgit v1.2.3 From 5d1b7ac696c2c9cf4206d7fbd3ebe3daa3b9bbd2 Mon Sep 17 00:00:00 2001 From: Michael Hoang Date: Mon, 11 Nov 2024 22:48:25 +1100 Subject: treewide: remove mentions of `services.nix-daemon.enable = true;` --- modules/examples/simple.nix | 1 - 1 file changed, 1 deletion(-) (limited to 'modules/examples/simple.nix') diff --git a/modules/examples/simple.nix b/modules/examples/simple.nix index 5baf009..c76ecda 100644 --- a/modules/examples/simple.nix +++ b/modules/examples/simple.nix @@ -12,7 +12,6 @@ # 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; # Enable alternative shell support in nix-darwin. -- cgit v1.2.3 From 7918e24e5b999e36c923573e9d6ac183b0c00f38 Mon Sep 17 00:00:00 2001 From: Michael Hoang Date: Mon, 11 Nov 2024 22:30:42 +1100 Subject: treewide: remove `nix.package` example --- modules/examples/simple.nix | 3 --- 1 file changed, 3 deletions(-) (limited to 'modules/examples/simple.nix') diff --git a/modules/examples/simple.nix b/modules/examples/simple.nix index c76ecda..8d769a2 100644 --- a/modules/examples/simple.nix +++ b/modules/examples/simple.nix @@ -11,9 +11,6 @@ # $ 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. - # nix.package = pkgs.nix; - # Enable alternative shell support in nix-darwin. # programs.fish.enable = true; -- cgit v1.2.3 From 9a1bea70d5728a19ee0a090dc0bcdeb73f09b7a4 Mon Sep 17 00:00:00 2001 From: Michael Hoang Date: Sun, 17 Nov 2024 02:33:37 +1100 Subject: installer: move creating default configuration to README --- modules/examples/simple.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'modules/examples/simple.nix') diff --git a/modules/examples/simple.nix b/modules/examples/simple.nix index 8d769a2..5771ec6 100644 --- a/modules/examples/simple.nix +++ b/modules/examples/simple.nix @@ -7,9 +7,8 @@ [ 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"; + # Use custom location for configuration.nix. + environment.darwinConfig = "$HOME/.config/nix-darwin/configuration.nix"; # Enable alternative shell support in nix-darwin. # programs.fish.enable = true; -- cgit v1.2.3