Messing around with ai is fun!
This commit is contained in:
@ -18,6 +18,7 @@
|
||||
vscodium.enable = true;
|
||||
yazi.enable = true;
|
||||
git.enable = true;
|
||||
ai.enable = true;
|
||||
engineering.enable = true;
|
||||
art.enable = true;
|
||||
flatpak.enable = false;
|
||||
|
15
modules/user/localai/default.nix
Normal file
15
modules/user/localai/default.nix
Normal file
@ -0,0 +1,15 @@
|
||||
{ config, lib, pkgs, ...}:
|
||||
|
||||
let
|
||||
cfg = config.userSettings.ai;
|
||||
in {
|
||||
options = {
|
||||
userSettings.ai = {
|
||||
enable = lib.mkEnableOption "Enable localai";
|
||||
};
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
home.packages = [ pkgs.local-ai ];
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user