modules(editors) : Add emacs

This commit is contained in:
Florian RICHER 2024-05-28 20:46:24 +02:00
parent 5766455c95
commit 4ebb3aaed1
Signed by: florian.richer
GPG key ID: C73D37CBED7BFC77
7 changed files with 814 additions and 0 deletions

View file

@ -17,6 +17,21 @@
};
nix-flatpak.url = "github:gmodena/nix-flatpak/?ref=v0.4.1";
# Follow nix-doom-emacs completely when this is merged or fixed
# - https://github.com/nix-community/nix-doom-emacs/issues/409
# - https://github.com/nix-community/nix-straight.el/pull/4
nix-straight = {
url = "github:codingkoi/nix-straight.el?ref=codingkoi/apply-librephoenixs-fix";
flake = false;
};
nix-doom-emacs = {
url = "github:nix-community/nix-doom-emacs";
inputs = {
nix-straight.follows = "nix-straight";
nixpkgs.follows = "nixpkgs";
};
};
};
outputs = inputs@{
@ -25,6 +40,7 @@
home-manager,
agenix,
nix-flatpak,
nix-doom-emacs,
...
}:
let
@ -50,6 +66,8 @@
home-manager.extraSpecialArgs = inputs;
home-manager.users.florian.imports = [
nix-flatpak.homeManagerModules.nix-flatpak
nix-doom-emacs.hmModule
./hosts/${s.name}/home.nix
];
}