about summary refs log tree commit diff
path: root/nixos/cobalt/configuration.nix
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2023-02-06 18:16:38 +0900
committersefidel <contact@sefidel.net>2023-02-06 18:26:16 +0900
commit374f2f364a3a5de5438dd310f6cb50490eae6f1e (patch)
treec4a2f0dd33b61285606d894cc61353331c71f009 /nixos/cobalt/configuration.nix
parent9d2566b5958943643d138186ebc57def41f68e51 (diff)
downloadnixrc-374f2f364a3a5de5438dd310f6cb50490eae6f1e.tar.gz
nixrc-374f2f364a3a5de5438dd310f6cb50490eae6f1e.zip
feat: use sops for secret management
Diffstat (limited to 'nixos/cobalt/configuration.nix')
-rw-r--r--nixos/cobalt/configuration.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/cobalt/configuration.nix b/nixos/cobalt/configuration.nix
index c596536..b4baf47 100644
--- a/nixos/cobalt/configuration.nix
+++ b/nixos/cobalt/configuration.nix
@@ -134,6 +134,8 @@ in
   # impermanence requirement
   fileSystems."/persist".neededForBoot = true;
 
+  sops.defaultSopsFile = ./secrets/secrets.yaml;
+
   # This value determines the NixOS release from which the default
   # settings for stateful data, like file locations and database versions
   # on your system were taken. It‘s perfectly fine and recommended to leave