about summary refs log tree commit diff
path: root/modules/darwin
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2023-02-20 02:05:59 +0300
committerAzat Bahawi <azat@bahawi.net>2023-02-20 02:05:59 +0300
commite40f7d991353ad70984afdf67b25c049190c56bd (patch)
tree295a80114cca78952ed6ed562198d997b496faba /modules/darwin
parent2023-02-19 (diff)
2023-02-20
Diffstat (limited to 'modules/darwin')
-rw-r--r--modules/darwin/common/default.nix1
-rw-r--r--modules/darwin/common/secrets.nix3
2 files changed, 4 insertions, 0 deletions
diff --git a/modules/darwin/common/default.nix b/modules/darwin/common/default.nix
index 149b2d6..b03e431 100644
--- a/modules/darwin/common/default.nix
+++ b/modules/darwin/common/default.nix
@@ -4,6 +4,7 @@ _: {
     ./locale.nix
     ./networking.nix
     ./nix.nix
+    ./secrets.nix
     ./shell.nix
     ./users.nix
   ];
diff --git a/modules/darwin/common/secrets.nix b/modules/darwin/common/secrets.nix
new file mode 100644
index 0000000..0656ae8
--- /dev/null
+++ b/modules/darwin/common/secrets.nix
@@ -0,0 +1,3 @@
+{inputs, ...}: {
+  imports = [inputs.agenix.darwinModules.default];
+}

Consider giving Nix/NixOS a try! <3