From ce20fad4d3f4535ffb9b003f9f0c351b8f6a70be Mon Sep 17 00:00:00 2001 From: Robert Date: Sat, 4 Apr 2026 16:54:10 -0400 Subject: [PATCH] fix: enable flake-self-attrs for lix compatibility --- hosts/lazyworkhorse/configuration.nix | 16 ++++++++-------- secrets/{n8n_ssh_key.age => ai_ssh_key.age} | Bin 2 files changed, 8 insertions(+), 8 deletions(-) rename secrets/{n8n_ssh_key.age => ai_ssh_key.age} (100%) diff --git a/hosts/lazyworkhorse/configuration.nix b/hosts/lazyworkhorse/configuration.nix index 290916e..b36f9f2 100644 --- a/hosts/lazyworkhorse/configuration.nix +++ b/hosts/lazyworkhorse/configuration.nix @@ -9,7 +9,7 @@ hoardingcow-mount.enable = true; # Flakesss - nix.settings.experimental-features = [ "nix-command" "flakes" ]; + nix.settings.experimental-features = [ "nix-command" "flakes" "flake-self-attrs" ]; nix.settings.trusted-users = [ "root" "gortium" ]; # Garbage collection @@ -249,13 +249,13 @@ mode = "0600"; path = "/etc/ssh/ssh_host_ed25519_key"; }; - # n8n_ssh_key = { - # file = ../../secrets/n8n_ssh_key.age; - # owner = "root"; - # group = "root"; - # mode = "0600"; - # path = "/home/n8n-worker/.ssh/n8n_ssh_key"; - # }; + ai_ssh_key = { + file = ../../secrets/ai_ssh_key.age; + owner = "root"; + group = "root"; + mode = "0600"; + path = "/home/ai-worker/.ssh/ai_ssh_key"; + }; openclaw_gateway_token = { file = ../../secrets/openclaw_gateway_token.age; owner = "root"; diff --git a/secrets/n8n_ssh_key.age b/secrets/ai_ssh_key.age similarity index 100% rename from secrets/n8n_ssh_key.age rename to secrets/ai_ssh_key.age