aboutsummaryrefslogtreecommitdiff
path: root/machines/mba-personal.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2026-01-09 19:11:37 -0800
committerFranck Cuny <franck@fcuny.net>2026-01-12 08:20:24 -0800
commit72307e4dca688a5f2b88cef26273aaa6a5e189db (patch)
tree7883bd1387cac0c0ad9180ef75fe0b98965706df /machines/mba-personal.nix
parentclean up ssh keys for the admin user (diff)
downloadinfra-72307e4dca688a5f2b88cef26273aaa6a5e189db.tar.gz
don't use agenix from home manager
Install the key with the host's configuration and rekey the secrets.
Diffstat (limited to 'machines/mba-personal.nix')
-rw-r--r--machines/mba-personal.nix14
1 files changed, 13 insertions, 1 deletions
diff --git a/machines/mba-personal.nix b/machines/mba-personal.nix
index 2d82567..0ce4279 100644
--- a/machines/mba-personal.nix
+++ b/machines/mba-personal.nix
@@ -1,6 +1,18 @@
{ adminUser, pkgs, ... }:
{
- age.secrets.ssh-remote-builder.file = ../secrets/ssh-remote-builder.age;
+ publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDLQTIPZraE+jpMqGkh8yUhNFzRJbMarX5Mky3nETw6c";
+
+ age.secrets = {
+ ssh-remote-builder.file = ../secrets/ssh-remote-builder.age;
+ anthropic-api-key = {
+ file = ../secrets/anthropic-api-key.age;
+ owner = "${toString adminUser.uid}";
+ };
+ restic-password = {
+ file = ../secrets/restic-pw.age;
+ owner = "${toString adminUser.uid}";
+ };
+ };
imports = [
../profiles/darwin.nix