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"; home = "/home/sondell";
isNormalUser = true; isNormalUser = true;
description = "sondell"; description = "sondell";
extraGroups = ["networkmanager" "wheel" "backup" "opendkim" ]; extraGroups = ["networkmanager" "wheel" "backup" "opendkim"];
packages = with pkgs; [ packages = with pkgs; [
firefox firefox
# thunderbird # thunderbird
@ -116,7 +116,6 @@
}; };
# users.groups."backup".gid = 1337; # users.groups."backup".gid = 1337;
users.users.root = { users.users.root = {
isNormalUser = false; isNormalUser = false;
openssh.authorizedKeys.keys = ["ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMYGJCpFIiWqzy8YbfWh7+i52XVwyhUu+P0rUglVR5uV gws@nixos"]; openssh.authorizedKeys.keys = ["ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMYGJCpFIiWqzy8YbfWh7+i52XVwyhUu+P0rUglVR5uV gws@nixos"];
@ -128,8 +127,7 @@
# List packages installed in system profile. To search, run: # List packages installed in system profile. To search, run:
# $ nix search wget # $ nix search wget
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
# vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default. # local-ai does not build
# wget
alejandra alejandra
restic restic
htop htop

View file

@ -101,7 +101,7 @@ in {
extraApps = with config.services.nextcloud.package.packages.apps; { extraApps = with config.services.nextcloud.package.packages.apps; {
# List of apps we want to install and are already packaged in # 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 # 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 = { config = {
overwriteProtocol = "https"; overwriteProtocol = "https";