diff options
author | sefidel <contact@sefidel.net> | 2023-08-17 22:56:38 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2023-08-17 22:57:38 +0900 |
commit | ff98a41acfc91f536109bef708c0fd081e30194f (patch) | |
tree | 7e3be872d4f9d646616b0b4a155c4a9c8e9fbfdd | |
parent | 8bce3b2327dca2541edc35b7b2f7458df74d7989 (diff) | |
download | nixrc-ff98a41acfc91f536109bef708c0fd081e30194f.tar.gz nixrc-ff98a41acfc91f536109bef708c0fd081e30194f.zip |
feat(darwin/kompakt-darwin): enable cachix module on darwin
-rw-r--r-- | darwin/default.nix | 3 | ||||
-rw-r--r-- | darwin/kompakt-darwin/configuration.nix | 7 |
2 files changed, 3 insertions, 7 deletions
diff --git a/darwin/default.nix b/darwin/default.nix index 5ab7fb7..1476617 100644 --- a/darwin/default.nix +++ b/darwin/default.nix @@ -5,5 +5,8 @@ name = "kompakt-darwin"; system = "aarch64-darwin"; nixpkgs = unstable; + extraModules = [ + ../nixos/modules/cachix + ]; }; } diff --git a/darwin/kompakt-darwin/configuration.nix b/darwin/kompakt-darwin/configuration.nix index 7080e77..514cef2 100644 --- a/darwin/kompakt-darwin/configuration.nix +++ b/darwin/kompakt-darwin/configuration.nix @@ -2,13 +2,6 @@ { nix = { - settings.substituters = [ - "https://cache.nixos.org/" - ]; - settings.trusted-public-keys = [ - "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" - ]; - settings.trusted-users = [ "@admin" ]; |