Add specific cs key per machine (not ideal, not declarative)
This commit is contained in:
parent
5be466302d
commit
21cbf45c5d
2 changed files with 8 additions and 10 deletions
|
@ -1,6 +1,5 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
config, pkgs,
|
||||
lib,
|
||||
inputs,
|
||||
modulesPath,
|
||||
|
@ -86,13 +85,6 @@
|
|||
];
|
||||
};
|
||||
|
||||
age.secrets = {
|
||||
cs-lapi-key = {
|
||||
file = ../secrets/cs-lapi-key.age;
|
||||
owner = "crowdsec";
|
||||
};
|
||||
};
|
||||
|
||||
services = {
|
||||
cloud-init.network.enable = true;
|
||||
openssh = {
|
||||
|
@ -119,7 +111,6 @@
|
|||
general = {
|
||||
prometheus.listen_addr = "0.0.0.0";
|
||||
};
|
||||
lapi.credentialsFile = "${config.age.secrets.cs-lapi-token.path}";
|
||||
};
|
||||
hub.collections = [
|
||||
"crowdsecurity/linux"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue