diff --git a/nixosModules/essentials/tty.nix b/nixosModules/essentials/tty.nix index 3fc3866..3e2a741 100755 --- a/nixosModules/essentials/tty.nix +++ b/nixosModules/essentials/tty.nix @@ -18,6 +18,11 @@ enable = true; theme = "robbyrussell"; }; + shellInit = '' + beetn() { + echo "$*" | aichat -cer beets + } + ''; shellAliases = { # shell ff = "clear && fastfetch"; diff --git a/nixosModules/software/aichat.nix b/nixosModules/software/aichat.nix index 4481f9b..0e3f5e3 100644 --- a/nixosModules/software/aichat.nix +++ b/nixosModules/software/aichat.nix @@ -6,19 +6,7 @@ ... }: { - # services = { - # nextjs-ollama-llm-ui.enable = false; - # ollama = { - # enable = false; - # package = pkgs.ollama-rocm; - # environmentVariables = { - # HSA_OVERRIDE_GFX_VERSION = "11.5.0"; - # HCC_AMDGPU_TARGET = "gfx1150"; # used to be necessary, but doesn't seem to anymore - # }; - # user = "ollama"; # "${xlib.device.username}"; - # group = "ollama"; - # acceleration = "rocm"; - # rocmOverrideGfx = "11.5.0"; - # }; - # }; + environment.systemPackages = [ + pkgs.aichat + ]; }