aboutsummaryrefslogtreecommitdiff
path: root/machines/mbp-work.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/mbp-work.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/mbp-work.nix')
-rw-r--r--machines/mbp-work.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/machines/mbp-work.nix b/machines/mbp-work.nix
index 16d9c59..851444a 100644
--- a/machines/mbp-work.nix
+++ b/machines/mbp-work.nix
@@ -1,5 +1,12 @@
{ adminUser, pkgs, ... }:
{
+ age.secrets = {
+ anthropic-api-key = {
+ file = ../secrets/users/fcuny/anthropic-api-key.age;
+ owner = "${toString adminUser.uid}";
+ };
+ };
+
imports = [
../profiles/darwin.nix
../profiles/home-manager.nix