integrate openai

This commit is contained in:
glenn 2024-07-24 13:55:02 +02:00
parent a4fc0522c2
commit 59b0507466
2 changed files with 5 additions and 7 deletions

View file

@ -108,7 +108,7 @@
home = "/home/sondell";
isNormalUser = true;
description = "sondell";
extraGroups = ["networkmanager" "wheel" "backup" "opendkim" ];
extraGroups = ["networkmanager" "wheel" "backup" "opendkim"];
packages = with pkgs; [
firefox
# thunderbird
@ -116,7 +116,6 @@
};
# users.groups."backup".gid = 1337;
users.users.root = {
isNormalUser = false;
openssh.authorizedKeys.keys = ["ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMYGJCpFIiWqzy8YbfWh7+i52XVwyhUu+P0rUglVR5uV gws@nixos"];
@ -128,8 +127,7 @@
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [
# vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
# wget
# local-ai does not build
alejandra
restic
htop
@ -151,7 +149,7 @@
enable = true;
shellInit = "starship init fish | source";
};
starship = {
starship = {
enable = true;
settings = {
shell = {
@ -160,7 +158,7 @@
bash_indicator = "BASH";
};
};
};
};
};
# Some programs need SUID wrappers, can be configured further or are

View file

@ -101,7 +101,7 @@ in {
extraApps = with config.services.nextcloud.package.packages.apps; {
# List of apps we want to install and are already packaged in
# https://github.com/NixOS/nixpkgs/blob/master/pkgs/servers/nextcloud/packages/nextcloud-apps.json
inherit mail calendar contacts notes onlyoffice cookbook spreed memories previewgenerator;
inherit mail calendar contacts notes onlyoffice cookbook spreed memories previewgenerator integration_openai;
};
config = {
overwriteProtocol = "https";