Merge branch 'master' of git.2li.ch:Nebucatnetzer/nixos
This commit is contained in:
commit
a62e5a8916
|
@ -0,0 +1,3 @@
|
|||
[submodule "home-manager/modules/programs/emacs/emacs.d/lib/copilot"]
|
||||
path = home-manager/modules/programs/emacs/emacs.d/lib/copilot
|
||||
url = https://github.com/zerolfx/copilot.el.git
|
|
@ -9,6 +9,7 @@
|
|||
./programs/email
|
||||
./programs/evince
|
||||
./programs/git
|
||||
./programs/hunspell
|
||||
./programs/keeweb
|
||||
./programs/mpv
|
||||
./programs/open-port
|
||||
|
|
|
@ -11,6 +11,7 @@ in
|
|||
home.packages = with pkgs; [
|
||||
fd
|
||||
multimarkdown
|
||||
nodejs_20 # required for copilot
|
||||
unstable.nixd # Nix language server
|
||||
pandoc
|
||||
ripgrep
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
(use-package dash
|
||||
:defer t)
|
||||
|
||||
(use-package editorconfig
|
||||
:defer t)
|
||||
|
||||
(use-package s
|
||||
:defer t)
|
||||
|
||||
(use-package copilot
|
||||
:load-path "~/.nixos/home-manager/modules/programs/emacs/emacs.d/lib/copilot"
|
||||
:config
|
||||
(add-hook 'prog-mode-hook 'copilot-mode)
|
||||
(add-hook 'yaml-mode-hook 'copilot-mode)
|
||||
(add-to-list 'copilot-disable-display-predicates #'company--active-p)
|
||||
(define-key copilot-completion-map (kbd "<tab>") 'copilot-accept-completion)
|
||||
(define-key copilot-completion-map (kbd "TAB") 'copilot-accept-completion))
|
|
@ -0,0 +1 @@
|
|||
Subproject commit ba1d6018fdc2d735fecab1b2dcd4b5ea121b05ac
|
|
@ -31,6 +31,7 @@
|
|||
;; programming
|
||||
(load-file (modules-path "az_annotate.el"))
|
||||
(load-file (modules-path "az_company.el"))
|
||||
(load-file (modules-path "az_copilot.el"))
|
||||
(load-file (modules-path "az_direnv.el"))
|
||||
(load-file (modules-path "az_format_all.el"))
|
||||
(load-file (modules-path "az_flycheck.el"))
|
||||
|
|
|
@ -8,7 +8,7 @@ in
|
|||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
environment.systemPackages = with pkgs; [
|
||||
home.packages = with pkgs; [
|
||||
hunspell
|
||||
hunspellDicts.en_GB-ise
|
||||
hunspellDicts.de_CH
|
|
@ -14,6 +14,7 @@ in
|
|||
az-emacs.enable = true;
|
||||
az-email.enable = true;
|
||||
az-evince.enable = true;
|
||||
az-hunspell.enable = true;
|
||||
az-keeweb.enable = true;
|
||||
az-mpv.enable = true;
|
||||
az-open-port.enable = true;
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
|
||||
programs = {
|
||||
az-emacs.enable = true;
|
||||
az-hunspell.enable = true;
|
||||
az-open-port.enable = true;
|
||||
az-ssh.enable = true;
|
||||
az-tmux.enable = true;
|
||||
|
|
|
@ -49,6 +49,7 @@
|
|||
az-git = {
|
||||
userEmail = "zweili@contria.com";
|
||||
};
|
||||
az-hunspell.enable = true;
|
||||
az-tmux.enable = true;
|
||||
az-vagrant-wsl.enable = true;
|
||||
bash = {
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
./profiles/desktop
|
||||
./programs/distrobox
|
||||
./programs/eog
|
||||
./programs/hunspell
|
||||
./programs/libimobiledevice
|
||||
./programs/lockscreen
|
||||
./programs/makemkv
|
||||
|
|
|
@ -73,7 +73,6 @@ in
|
|||
|
||||
programs = {
|
||||
az-eog.enable = true; # Gnome Image Viewer
|
||||
az-hunspell.enable = true; # Enable dictionaries
|
||||
az-idevices.enable = true;
|
||||
az-nautilus.enable = true;
|
||||
az-nix-direnv.enable = true;
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
};
|
||||
# Enable dictionaries
|
||||
programs = {
|
||||
az-hunspell.enable = true;
|
||||
az-nix-direnv.enable = true;
|
||||
az-restic-management.enable = true;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue