mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-04-27 00:48:30 +02:00
use the sops home manager module
This commit is contained in:
parent
a06384c5d3
commit
5408a5ee19
8 changed files with 79 additions and 21 deletions
8
users/rouven/modules/sops/default.nix
Normal file
8
users/rouven/modules/sops/default.nix
Normal file
|
@ -0,0 +1,8 @@
|
|||
{ config, ... }:
|
||||
{
|
||||
sops = {
|
||||
age.sshKeyPaths = [ "/home/${config.home.username}/.ssh/id_ed25519" ];
|
||||
age.generateKey = false;
|
||||
defaultSopsFile = ../../../../secrets/${config.home.username}.yaml;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue