feat: Change nix formatter to alejandra

This commit is contained in:
ulic-youthlic 2025-11-09 06:25:03 +08:00
parent 0b8b647f05
commit b4c3dfec42
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
229 changed files with 2528 additions and 2884 deletions

View file

@ -4,17 +4,15 @@
lib,
inputs,
...
}:
let
}: let
inherit (inputs) nixpkgs emacs-overlay spacemacs;
inherit (pkgs) system;
cfg = config.david.programs.spacemacs;
pkgs' = import nixpkgs {
localSystem = { inherit system; };
overlays = [ emacs-overlay.overlays.default ];
localSystem = {inherit system;};
overlays = [emacs-overlay.overlays.default];
};
in
{
in {
options = {
david.programs.spacemacs = {
enable = lib.mkEnableOption "spacemacs";
@ -30,8 +28,7 @@ in
};
programs.emacs = {
enable = true;
package =
with pkgs';
package = with pkgs';
(emacsPackagesFor emacs-pgtk).emacsWithPackages (_epkgs: [
git
gnutar