fully added laptop to nix-secrets.

This commit is contained in:
Gabe Venberg 2024-06-04 13:08:13 -05:00
parent 8c552faa1b
commit 6f5169947a
5 changed files with 9 additions and 33 deletions

View file

@ -1,22 +0,0 @@
{
config,
pkgs,
lib,
inputs,
...
}: let
secretsPath = builtins.toString inputs.nix-secrets;
in {
imports = [
inputs.sops-nix.homeManagerModules.sops
];
sops = {
defaultSopsFile = "${secretsPath}/secrets.yaml";
age = {
sshKeyPaths = ["${config.home.homeDirectory}/keys/age/master.txt"];
keyFile = "/var/lib/sops-nix/key.txt";
generateKey = true;
};
};
}