added ollama

This commit is contained in:
Ariel Sosnovsky committed 2024-03-20 16:31:28 -04:00
1 parent 4c17fdf368
commit 0c49f1d0c5
2 files changed
+7 -4

No files matched your search

+5 -4
View File
@@ -4,7 +4,8 @@
{
hostName,
dbConnectionStr,
K3SToken
K3SToken,
additionalPkgs = [],
}:
{ config, pkgs, ... }:
@@ -17,12 +18,12 @@
i18n.defaultLocale = "en_CA.UTF-8";
services.nfs.server.enable = true;
services.rpcbind.enable = true;
environment.systemPackages = with pkgs; [
environment.systemPackages = with pkgs; builtins.concat([
k3s
nfs-utils
git
];
ollama
], additionalPkgs);
services.k3s.enable = true;
services.k3s.role = "server";
services.k3s.extraFlags = toString [
+2
View File
@@ -3,6 +3,7 @@
stateVersion,
dbConnectionStr,
K3SToken
additionalPkgs = [],
}:
{ config, pkgs, ... }:
{
@@ -12,6 +13,7 @@
hostName = hostName;
dbConnectionStr = dbConnectionStr;
K3SToken = K3SToken;
additionalPkgs = additionalPkgs;
})
./users.nix
./settings.nix