Reinitialized repo after massive overhaul

This commit is contained in:
2024-10-02 14:24:37 -05:00
parent 319e79bcd2
commit a501308ce9
45 changed files with 156 additions and 290 deletions

19
system/services/flake.nix Normal file
View File

@@ -0,0 +1,19 @@
{
description = "System service config";
inputs = {
ollama.url = "./ollama";
};
outputs = { self, ... }@inputs: {
module = { config, lib, pkgs, ... }: {
imports = [
inputs.ollama.module
];
};
};
}

View File

@@ -0,0 +1,12 @@
{
description = "ollama config";
inputs = {
};
outputs = { self, ... }: {
module = import ./ollama.nix;
};
}

View File

@@ -0,0 +1,7 @@
{ config, lib, pkgs, ... }: {
services.ollama = {
enable = true;
acceleration = "cuda";
};
}