mirror of
https://github.com/Mic92/sops-nix.git
synced 2026-01-09 07:07:22 +08:00
15 lines
432 B
Nix
15 lines
432 B
Nix
{ config, ... }:
|
|
{
|
|
imports = [
|
|
../modules/home-manager/sops.nix
|
|
];
|
|
home.stateVersion = "25.05";
|
|
home.username = "sops-user";
|
|
home.homeDirectory = "/home/sops-user";
|
|
home.enableNixpkgsReleaseCheck = false;
|
|
|
|
sops.age.generateKey = true;
|
|
sops.age.keyFile = "${config.home.homeDirectory}/.age-key.txt";
|
|
sops.secrets.test_key = { };
|
|
sops.defaultSopsFile = ../pkgs/sops-install-secrets/test-assets/secrets.yaml;
|
|
}
|