Skip to content

Commit 68545b2

Browse files
fix(sops): added slash in the keyFile
not sure how this was working before lol
1 parent 65234e1 commit 68545b2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

configurations/nixos/lab/sops.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
1313

1414
# This is using an age key that is expected to already be in the filesystem
15-
keyFile = "${config.users.users.justinhoang.home}.config/sops/age/keys.txt";
15+
keyFile = "${config.users.users.justinhoang.home}/.config/sops/age/keys.txt";
1616

1717
# This will generate a new key if the key specified above does not exist
1818
generateKey = true;

configurations/nixos/pi/sops.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
1313

1414
# This is using an age key that is expected to already be in the filesystem
15-
keyFile = "${config.users.users.admin.home}.config/sops/age/keys.txt";
15+
keyFile = "${config.users.users.admin.home}/.config/sops/age/keys.txt";
1616

1717
# This will generate a new key if the key specified above does not exist
1818
generateKey = true;

0 commit comments

Comments
 (0)