diff options
author | David Morgan <djm_uk@protonmail.com> | 2022-11-26 16:07:37 +0000 |
---|---|---|
committer | David Morgan <djm_uk@protonmail.com> | 2022-11-26 16:07:37 +0000 |
commit | 831de5f8e883ca2435c450f52578aa5a5fe9fd03 (patch) | |
tree | f65b4a33ede676efd88cc68898aea0abc20ad8cf | |
parent | 5205cf961f5e75788e38a774ceb13f8c5438cb4d (diff) | |
download | dotfiles-831de5f8e883ca2435c450f52578aa5a5fe9fd03.tar.gz |
Add nix config
-rw-r--r-- | nix-conf/home/includes/common.nix | 7 | ||||
-rw-r--r-- | nix-conf/home/includes/darwin.nix | 6 |
2 files changed, 13 insertions, 0 deletions
diff --git a/nix-conf/home/includes/common.nix b/nix-conf/home/includes/common.nix index c9bd270..09bbc48 100644 --- a/nix-conf/home/includes/common.nix +++ b/nix-conf/home/includes/common.nix @@ -63,6 +63,13 @@ in w3m ]; + nix = { + package = pkgs.nix; + settings = { + extra-experimental-features = [ "nix-command" "flakes" ]; + }; + }; + programs.gpg.enable = true; programs.nix-index = { enable = true; diff --git a/nix-conf/home/includes/darwin.nix b/nix-conf/home/includes/darwin.nix index aafe803..9f04927 100644 --- a/nix-conf/home/includes/darwin.nix +++ b/nix-conf/home/includes/darwin.nix @@ -31,6 +31,12 @@ wget ]; + nix.settings = { + sandbox = true; + keep-outputs = true; + keep-derivations = true; + }; + programs.java = { enable = true; #package = (pkgs.jdk8.overrideAttrs (_: { postPatch = "ln -nsf ../zulu-8.jdk/Contents/Home/man man"; })); |