1
0
mirror of https://github.com/ellmau/nixos.git synced 2025-12-19 09:29:36 +01:00

Update emacs config and provide emacs app

This commit is contained in:
Stefan Ellmauthaler 2023-05-09 09:53:21 +02:00
parent d45458eb0d
commit b844edfeac
Failed to extract signature
2 changed files with 8 additions and 1 deletions

View File

@ -156,6 +156,13 @@
sops-nix = inputs.sops-nix.packages."${channels.nixpkgs.system}"; sops-nix = inputs.sops-nix.packages."${channels.nixpkgs.system}";
}; };
formatter = channels.nixpkgs.alejandra; formatter = channels.nixpkgs.alejandra;
apps = {
emacs = flake-utils-plus.lib.mkApp {
drv =
self.nixosConfigurations.stel-xps.config.services.emacs.package;
exePath = "/bin/emacs";
};
};
}; };
templates = discoverTemplates ./templates { templates = discoverTemplates ./templates {

View File

@ -412,7 +412,7 @@
(lsp-rust-analyzer-experimental-proc-attr-macros t) (lsp-rust-analyzer-experimental-proc-attr-macros t)
:hook :hook
;;(rustic-mode . company-mode) ;;(rustic-mode . company-mode)
(rustic . lsp-rust-analyzer-inlay-hints-mode) ;;(rustic . lsp-rust-analyzer-inlay-hints-mode)
(rustic . apheleia-mode) (rustic . apheleia-mode)
;;(rustic-mode . flymake-mode) ;;(rustic-mode . flymake-mode)
) )