adds darwin config to nix
This commit is contained in:
parent
68321de234
commit
dcca6430f2
1 changed files with 26 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue