Compare commits

..

No commits in common. "cf99262194ca29885298f130fa14d0ce5b68963e" and "8417c46a6d3cf1a45ea01ff4f6452f4de3865e60" have entirely different histories.

5 changed files with 1 additions and 32 deletions

View file

@ -16,7 +16,6 @@ in
sshKeyFile = secrets."borgbackup/ssh_key".path; sshKeyFile = secrets."borgbackup/ssh_key".path;
paths = [ "/" ]; paths = [ "/" ];
}; };
llm.enable = true;
vpn.enable = true; vpn.enable = true;
}; };
} }

View file

@ -119,6 +119,7 @@ in
"/home/*/.gvfs" "/home/*/.gvfs"
"/home/*/.local/share/Trash" "/home/*/.local/share/Trash"
"/home/*/.thumbnails" "/home/*/.thumbnails"
"/home/*/.config/Element/Cache"
# self-defined # self-defined
"/data/tmp" "/data/tmp"

View file

@ -19,7 +19,6 @@
./homepage ./homepage
./homer ./homer
./initrd-ssh ./initrd-ssh
./llm
./loki ./loki
./matrix-bot ./matrix-bot
./media ./media

View file

@ -1,26 +0,0 @@
# enable local llms
{
config,
lib,
pkgs,
...
}:
let
cfg = config.my.services.llm;
in
{
options.my.services.llm = {
enable = lib.mkEnableOption "Enable llm service";
};
config = lib.mkIf cfg.enable {
services.ollama = {
enable = true;
package = pkgs.unstable.ollama;
};
my.services.backup.exclude = [
config.services.ollama.home
];
};
}

View file

@ -19,9 +19,5 @@ in
mumble mumble
teamspeak6-client teamspeak6-client
]; ];
my.services.backup.exclude = [
"/home/*/.config/Element/Cache"
];
}; };
} }