mirror of
https://github.com/librephoenix/nixos-config
synced 2025-10-18 17:44:06 +05:30
Messing around with ai is fun!
This commit is contained in:
parent
f86049f259
commit
dafd115747
2 changed files with 16 additions and 0 deletions
|
@ -18,6 +18,7 @@
|
||||||
vscodium.enable = true;
|
vscodium.enable = true;
|
||||||
yazi.enable = true;
|
yazi.enable = true;
|
||||||
git.enable = true;
|
git.enable = true;
|
||||||
|
ai.enable = true;
|
||||||
engineering.enable = true;
|
engineering.enable = true;
|
||||||
art.enable = true;
|
art.enable = true;
|
||||||
flatpak.enable = false;
|
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 ];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue