mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +01:00
23 lines
378 B
Nix
23 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
|
||
|
|
];
|
||
|
|
}
|