to lazy for good messages
This commit is contained in:
@@ -216,32 +216,32 @@
|
||||
|
||||
;;ollama stuff
|
||||
;;
|
||||
(use-package ellama
|
||||
:init
|
||||
;; setup key bindings
|
||||
(setopt ellama-keymap-prefix "C-c e")
|
||||
;; language you want ellama to translate to
|
||||
(setopt ellama-language "English")
|
||||
;; could be llm-openai for example
|
||||
(require 'llm-ollama)
|
||||
(setopt ellama-provider
|
||||
(make-llm-ollama
|
||||
;; this model should be pulled to use it
|
||||
;; value should be the same as you print in terminal during pull
|
||||
:chat-model "codellama:13b"
|
||||
:embedding-model "codellama:13b"))
|
||||
)
|
||||
(use-package qml-ts-mode
|
||||
:after lsp-mode
|
||||
:config
|
||||
(add-to-list 'lsp-language-id-configuration '(qml-ts-mode . "qml-ts"))
|
||||
(lsp-register-client
|
||||
(make-lsp-client :new-connection (lsp-stdio-connection '("qmlls", "-E"))
|
||||
:activation-fn (lsp-activate-on "qml-ts")
|
||||
:server-id 'qmlls))
|
||||
(add-hook 'qml-ts-mode-hook (lambda ()
|
||||
(setq-local electric-indent-chars '(?\n ?\( ?\) ?{ ?} ?\[ ?\] ?\; ?,))
|
||||
(lsp-deferred))))
|
||||
;;(use-package ellama
|
||||
;; :init
|
||||
;; ;; setup key bindings
|
||||
;; (setopt ellama-keymap-prefix "C-c e")
|
||||
;; ;; language you want ellama to translate to
|
||||
;; (setopt ellama-language "English")
|
||||
;; ;; could be llm-openai for example
|
||||
;; (require 'llm-ollama)
|
||||
;; (setopt ellama-provider
|
||||
;; (make-llm-ollama
|
||||
;; ;; this model should be pulled to use it
|
||||
;; ;; value should be the same as you print in terminal during pull
|
||||
;; :chat-model "codellama:13b"
|
||||
;; :embedding-model "codellama:13b"))
|
||||
;; )
|
||||
;;(use-package qml-ts-mode
|
||||
;; :after lsp-mode
|
||||
;; :config
|
||||
;; (add-to-list 'lsp-language-id-configuration '(qml-ts-mode . "qml-ts"))
|
||||
;; (lsp-register-client
|
||||
;; (make-lsp-client :new-connection (lsp-stdio-connection '("qmlls", "-E"))
|
||||
;; :activation-fn (lsp-activate-on "qml-ts")
|
||||
;; :server-id 'qmlls))
|
||||
;; (add-hook 'qml-ts-mode-hook (lambda ()
|
||||
;; (setq-local electric-indent-chars '(?\n ?\( ?\) ?{ ?} ?\[ ?\] ?\; ?,))
|
||||
;; (lsp-deferred))))
|
||||
|
||||
|
||||
;; custom functions
|
||||
|
||||
@@ -28,6 +28,7 @@
|
||||
|
||||
;;; Code:
|
||||
(require 'json)
|
||||
Package-Requires: ((cl-lib "0.5"))
|
||||
(require 'cl-lib)
|
||||
(require 'url)
|
||||
|
||||
|
||||
@@ -35,13 +35,18 @@ in
|
||||
];
|
||||
# Autostart necessary processes (like notifications daemons, status bars, etc.)
|
||||
# Or execute your favorite apps at launch like this:
|
||||
exec-once = [
|
||||
exec-once =
|
||||
[
|
||||
#"waybar"
|
||||
#"quickshell"
|
||||
"${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1"
|
||||
"fcitx5 -d"
|
||||
"foot -s"
|
||||
] ++ lib.optional (config.home.username == "work") "thunderbird";
|
||||
]
|
||||
++ lib.optionals (config.home.username == "work") [
|
||||
"thunderbird"
|
||||
"sleep 10 && emacsclient -c --frame-parameters='((name . \"work\"))' $HOME/Documents/work/README.org"
|
||||
];
|
||||
#++ lib.optional (systemName == "laptop") "swaybg -o eDP-1 -i ${../assets/Wallpapers/138.png}"
|
||||
#++
|
||||
# lib.optional (systemName == "pc")
|
||||
@@ -283,6 +288,7 @@ in
|
||||
# Fix some dragging issues with XWayland
|
||||
"nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0"
|
||||
"workspace special:magic silent, class:thunderbird"
|
||||
"workspace special:magic silent, class:emacs, title:work"
|
||||
];
|
||||
|
||||
};
|
||||
|
||||
@@ -198,6 +198,8 @@ in
|
||||
cava
|
||||
lm_sensors
|
||||
thunderbird
|
||||
libnotify
|
||||
localsend
|
||||
wmctrl
|
||||
xdotool
|
||||
libinput-gestures
|
||||
|
||||
@@ -59,9 +59,13 @@ in
|
||||
package = pkgs.open-sans;
|
||||
name = "Open Sans";
|
||||
};
|
||||
#monospace = {
|
||||
# package = pkgs.dejavu_fonts;
|
||||
# name = "DejaVu Sans Mono";
|
||||
#};
|
||||
monospace = {
|
||||
package = pkgs.dejavu_fonts;
|
||||
name = "DejaVu Sans Mono";
|
||||
package = pkgs.iosevka-comfy.comfy;
|
||||
name = "Iosevka Comfy";
|
||||
};
|
||||
emoji = {
|
||||
package = pkgs.noto-fonts-emoji;
|
||||
|
||||
@@ -22,6 +22,7 @@ in
|
||||
../dots/hyprlock.nix
|
||||
./stylix.nix
|
||||
./homePkgs.nix
|
||||
./services.nix
|
||||
../dots/xdg.nix
|
||||
../dots/river.nix
|
||||
../dots/niri.nix
|
||||
|
||||
Reference in New Issue
Block a user