Skip to content

Commit

Permalink
home-manager: doom-emacs module
Browse files Browse the repository at this point in the history
  • Loading branch information
nrdxp committed Feb 21, 2021
1 parent 87008d8 commit ba563b7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion extern/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ inputs }: with inputs;
let
hmModules = { };
hmModules = { inherit doom-emacs; };
in
{
modules = [
Expand Down
1 change: 1 addition & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
naersk.inputs.nixpkgs.follows = "override";
flake-compat.url = "github:edolstra/flake-compat";
flake-compat.flake = false;
doom-emacs.url = "github:vlaci/nix-doom-emacs";
};

outputs =
Expand Down
8 changes: 6 additions & 2 deletions users/nixos/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
{ ... }:
{ hmModules, ... }:
{
home-manager.users.nixos = {
imports = [ ../profiles/git ../profiles/direnv ];
imports = [
../profiles/git
../profiles/direnv
hmModules.doom-emacs.hmModule
];
};

users.users.nixos = {
Expand Down

0 comments on commit ba563b7

Please sign in to comment.