mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 23:00:14 +01:00
22 lines
378 B
Nix
22 lines
378 B
Nix
{
|
|
pkgs,
|
|
inputs,
|
|
username,
|
|
...
|
|
}:
|
|
{
|
|
imports = [ inputs.sops-nix.nixosModules.sops ];
|
|
|
|
sops = {
|
|
defaultSopsFile = ../../secrets/secrets.yaml;
|
|
defaultSopsFormat = "yaml";
|
|
age.keyFile = "/home/${username}/.config/sops/age/keys.txt";
|
|
secrets = {
|
|
"systemMailerPassword" = { };
|
|
};
|
|
};
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
sops
|
|
];
|
|
}
|