Skip to content

Commit d3165c1

Browse files
committed
Setup sops for hm-modules
1 parent 5437b67 commit d3165c1

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

home/default.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
imports = [
55
./editor.nix
66
./shell.nix
7+
./sops.nix
78

89
inputs.catppuccin.homeManagerModules.catppuccin
910
];

home/sops.nix

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{ inputs, meta, ... }:
2+
3+
{
4+
imports = [ inputs.sops-nix.homeManagerModules.sops ];
5+
6+
sops.defaultSopsFile = ../secrets/secrets.yaml;
7+
sops.defaultSopsFormat = "yaml";
8+
sops.age.keyFile = "/home/${meta.user.name}/.config/sops/age/keys.txt";
9+
}

0 commit comments

Comments
 (0)