This is the result of ~100 commits to my NixOS config. Since I haven't always used `agenix-rekey`, this is another initial commit so that none of the secrets in my git history are leaked
20 lines
474 B
Nix
20 lines
474 B
Nix
{pkgs, ...}: {
|
|
environment.systemPackages = [
|
|
pkgs.beszel
|
|
pkgs.rocmPackages.rocm-smi # Interface with AMD GPUs
|
|
];
|
|
|
|
systemd.services.beszel-agent = {
|
|
enable = true;
|
|
description = "Beszel Agent (remote monitoring)";
|
|
|
|
environment = {
|
|
KEY = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMkUPOw28Cu2LMuzfmvjT/L2ToNHcADwGyGvSpJ4wH2T";
|
|
LISTEN = "45876";
|
|
};
|
|
|
|
serviceConfig = {
|
|
ExecStart = "${pkgs.beszel}/bin/beszel-agent";
|
|
};
|
|
};
|
|
}
|