modules(editors) : Add emacs
This commit is contained in:
parent
5766455c95
commit
4ebb3aaed1
7 changed files with 814 additions and 0 deletions
18
flake.nix
18
flake.nix
|
@ -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
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue