hermes
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
{
|
||||
imports = [
|
||||
./sudo.nix
|
||||
./hermes.nix
|
||||
];
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
services.hermes-agent = {
|
||||
enable = true;
|
||||
addToSystemPackages = true;
|
||||
container = {
|
||||
enable = true;
|
||||
hostUsers = [ "poslop" ];
|
||||
};
|
||||
|
||||
settings.model.base_url = "http://10.0.1.139:5000/v1";
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
security.sudo.extraRules = [
|
||||
{
|
||||
users = [ "poslop" ];
|
||||
commands = [
|
||||
{
|
||||
command = "/run/current-system/sw/bin/docker";
|
||||
options = [ "NOPASSWD" ];
|
||||
}
|
||||
];
|
||||
}
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user