Nix3 + update
This commit is contained in:
parent
452687a211
commit
b1bc2752fb
2 changed files with 23 additions and 6 deletions
17
config.org
17
config.org
|
|
@ -1490,6 +1490,23 @@ Emacs has built-in programming language modes for Lisp, Scheme, DSSSL, Ada, ASM,
|
||||||
:ensure t
|
:ensure t
|
||||||
:mode "\\.nix\\'")
|
:mode "\\.nix\\'")
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
[[https://github.com/emacs-twist/nix3.el][nix3.el]]
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(use-package promise :ensure t) ;; nix3 dependency
|
||||||
|
(eval-elisp-string "(use-package nix3 \
|
||||||
|
:vc (:url \"https://github.com/emacs-twist/nix3.el\" \
|
||||||
|
:rev :newest)\
|
||||||
|
:init \
|
||||||
|
(let* ((mainpkg-dir (file-name-directory (locate-library \"nix3\"))) \
|
||||||
|
(subpkg-dir (expand-file-name \"extra\" mainpkg-dir))) \
|
||||||
|
(add-to-list 'load-path subpkg-dir)))")
|
||||||
|
|
||||||
|
(use-package magit-nix3
|
||||||
|
:after magit-status
|
||||||
|
:config
|
||||||
|
(magit-nix3-flake-mode t))
|
||||||
|
#+end_src
|
||||||
** GLSL
|
** GLSL
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package glsl-mode
|
(use-package glsl-mode
|
||||||
|
|
|
||||||
12
flake.lock
generated
12
flake.lock
generated
|
|
@ -10,11 +10,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1750785611,
|
"lastModified": 1753204266,
|
||||||
"narHash": "sha256-fi8N4PAlBA6A1yoXywCQsagGfCMNPHt9QL05p644jjU=",
|
"narHash": "sha256-mZ/+5xC3UYINFglTDjUbkA3cUiPUQYp/MUmeLFlT5Vw=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "emacs-overlay",
|
"repo": "emacs-overlay",
|
||||||
"rev": "0cce9a0141bd5d937262adb4861355d07015e715",
|
"rev": "aa1acbf4633b38c014b547447d87bc634ff113c9",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -40,11 +40,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1750622754,
|
"lastModified": 1753115646,
|
||||||
"narHash": "sha256-kMhs+YzV4vPGfuTpD3mwzibWUE6jotw5Al2wczI0Pv8=",
|
"narHash": "sha256-yLuz5cz5Z+sn8DRAfNkrd2Z1cV6DaYO9JMrEz4KZo/c=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "c7ab75210cb8cb16ddd8f290755d9558edde7ee1",
|
"rev": "92c2e04a475523e723c67ef872d8037379073681",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue