Skip to content

Commit

Permalink
darwin: enable sandbox and adapt deprecated api
Browse files Browse the repository at this point in the history
Signed-off-by: Qiming Chu <[email protected]>
  • Loading branch information
Emin017 committed Feb 25, 2025
1 parent 24a4a5b commit 7a4cdd9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions system/darwin/darwin.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,14 @@

# Auto upgrade nix package and the daemon service.
services.nix-daemon.enable = true;
nix.enable = true;
# nix.package = pkgs.nix;

# Necessary for using flakes on this system.
nix.settings.experimental-features = "nix-command flakes";
nix.settings = {
sandbox = true;
};

# Create /etc/zshrc that loads the nix-darwin environment.
programs.zsh.enable = true; # default shell on catalina
Expand Down

0 comments on commit 7a4cdd9

Please sign in to comment.