dotfiles/modules/os/core/shared/secrets.nix
eriedaberrie 0928f51421 Initial commit
Note: not the actual initial commit.

I swear I will stop repeatedly force pushing to this single commit eventually
ok.
2024-09-24 01:22:11 -07:00

45 lines
1.1 KiB
Nix

{ pkgs, inputs, config, ... }:
{
imports = [
inputs.agenix.nixosModules.age
];
environment.systemPackages = [ inputs.agenix.packages.${pkgs.system}.default ];
age.secrets.spotify = {
file = ../../../../secrets/spotify.age;
owner = config.my.user.username;
group = "users";
};
age.secrets.nix-tokens = {
file = ../../../../secrets/nix-tokens.age;
mode = "440";
owner = config.my.user.username;
group = "users";
};
age.secrets.authinfo = {
file = ../../../../secrets/authinfo.age;
owner = config.my.user.username;
group = "users";
};
age.secrets.email = {
file = ../../../../secrets/email.json.age;
name = "email.json";
owner = config.my.user.username;
group = "users";
};
age.secrets.porkbun-auth = {
file = ../../../../secrets/porkbun-auth.age;
name = "porkbun-auth";
};
age.secrets.wg-groceries = {
file = ../../../../secrets/wg-groceries.age;
name = "wg-groceries";
};
age.secrets.wg-nix-laptop = {
file = ../../../../secrets/wg-nix-laptop.age;
name = "wg-nix-laptop";
};
}