added ollama configs
This commit is contained in:
parent
f623a33863
commit
aaaf751435
3 changed files with 43 additions and 0 deletions
|
@ -22,6 +22,7 @@
|
|||
headscale = 2005;
|
||||
nextcloud = 2006;
|
||||
syncthing = 2007;
|
||||
ollama = 2008;
|
||||
};
|
||||
|
||||
gids = {
|
||||
|
@ -36,6 +37,7 @@
|
|||
headscale = 2005;
|
||||
nextcloud = 2006;
|
||||
syncthing = 2007;
|
||||
ollama = 2008;
|
||||
};
|
||||
|
||||
users = config.users.users;
|
||||
|
@ -150,6 +152,12 @@ in {
|
|||
isSystemUser = true;
|
||||
group = config.users.users.syncthing.name;
|
||||
};
|
||||
|
||||
ollama = {
|
||||
uid = lib.mkForce uids.ollama;
|
||||
isSystemUser = true;
|
||||
group = config.users.users.ollama.name;
|
||||
};
|
||||
};
|
||||
|
||||
groups = {
|
||||
|
@ -240,6 +248,13 @@ in {
|
|||
eve
|
||||
];
|
||||
};
|
||||
|
||||
ollama = {
|
||||
gid = lib.mkForce gids.ollama;
|
||||
members = [
|
||||
users.ollama.name
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue