diff --git a/modules/nix/default.nix b/modules/nix/default.nix index b0a31c5..e942d6c 100644 --- a/modules/nix/default.nix +++ b/modules/nix/default.nix @@ -20,6 +20,32 @@ programs.nix-ld.enable = true; nixpkgs.config.allowUnfree = true; + environment.systemPackages = with pkgs; [ + nil + statix + manix + ]; + }; + + flake.modules.darwin.nix = + { pkgs, ... }: + { + programs.direnv = { + enable = true; + silent = false; + loadInNixShell = true; + direnvrcExtra = ""; + nix-direnv = { + enable = true; + }; + }; + + nix.settings.experimental-features = [ + "nix-command" + "flakes" + ]; + nixpkgs.config.allowUnfree = true; + environment.systemPackages = with pkgs; [ nil statix