update ollama
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ config, lib, pkgs, ... }: {
|
||||
{ config, lib, ... }: {
|
||||
|
||||
options.sysconfig.opts.virtualization.nextcloud.enable = lib.options.mkOption {
|
||||
type = lib.types.bool;
|
||||
@@ -57,7 +57,7 @@
|
||||
};
|
||||
https = true;
|
||||
home = "/var/lib/nextcloud";
|
||||
#appstoreEnable = true;
|
||||
appstoreEnable = true;
|
||||
extraApps = with config.services.nextcloud.package.packages.apps; {
|
||||
inherit mail contacts calendar tasks user_oidc;
|
||||
inherit impersonate end_to_end_encryption notes spreed music memories phonetrack;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ config, lib, ... }: {
|
||||
{ config, lib, inputs, ... }: {
|
||||
|
||||
options = {
|
||||
sysconfig.opts.ollama.enable = lib.options.mkOption {
|
||||
@@ -11,6 +11,12 @@
|
||||
services.ollama = {
|
||||
enable = true;
|
||||
acceleration = "cuda";
|
||||
package = let
|
||||
pkgs-us = import inputs.nixpkgs-us {
|
||||
system = "x86_64-linux";
|
||||
config.allowUnfree = true;
|
||||
};
|
||||
in pkgs-us.ollama;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user