adds darwin config to nix

This commit is contained in:
Dennis Schoepf 2026-03-05 22:28:26 +01:00
parent 68321de234
commit dcca6430f2

View file

@ -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