summaryrefslogtreecommitdiff
path: root/home-modules/sops.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2023-09-08 13:25:32 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2023-09-08 13:25:32 +0200
commitb417b44757c688ed9df71241d0721ce86fdc9a13 (patch)
tree741280ea73f7939eb84039defd7761b4b65d063c /home-modules/sops.nix
parentb626d646d98e5d6cf6102bfc0c26cd7cb3f57676 (diff)
downloadnixos-b417b44757c688ed9df71241d0721ce86fdc9a13.tar
nixos-b417b44757c688ed9df71241d0721ce86fdc9a13.tar.gz
nixos-b417b44757c688ed9df71241d0721ce86fdc9a13.tar.bz2
nixos-b417b44757c688ed9df71241d0721ce86fdc9a13.tar.xz
nixos-b417b44757c688ed9df71241d0721ce86fdc9a13.zip
...
Diffstat (limited to 'home-modules/sops.nix')
-rw-r--r--home-modules/sops.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/home-modules/sops.nix b/home-modules/sops.nix
new file mode 100644
index 00000000..b1a62ca1
--- /dev/null
+++ b/home-modules/sops.nix
@@ -0,0 +1,10 @@
1{ flakeInputs, config, ... }:
2{
3 imports = [ flakeInputs.sops-nix.homeManagerModules.sops ];
4
5 config = {
6 sops = {
7 age.keyFile = config.home.homeDirectory + "/.config/sops/age/keys.txt";
8 };
9 };
10}