mirror of
https://github.com/Mic92/sops-nix.git
synced 2024-12-14 11:57:52 +00:00
18 lines
538 B
Nix
18 lines
538 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.templates."template.toml".content = ''
|
|
password = "${config.sops.placeholder.test_key}";
|
|
'';
|
|
sops.defaultSopsFile = ../pkgs/sops-install-secrets/test-assets/secrets.yaml;
|
|
}
|