From ba563b7b5be369de6d136621ba5a14691d3fc140 Mon Sep 17 00:00:00 2001 From: Timothy DeHerrera Date: Sun, 21 Feb 2021 14:22:15 -0700 Subject: [PATCH] home-manager: doom-emacs module --- extern/default.nix | 2 +- flake.nix | 1 + users/nixos/default.nix | 8 ++++++-- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/extern/default.nix b/extern/default.nix index 07f983cc1..fea4ce016 100644 --- a/extern/default.nix +++ b/extern/default.nix @@ -1,6 +1,6 @@ { inputs }: with inputs; let - hmModules = { }; + hmModules = { inherit doom-emacs; }; in { modules = [ diff --git a/flake.nix b/flake.nix index 0f4d60b91..f330fb61a 100644 --- a/flake.nix +++ b/flake.nix @@ -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 = diff --git a/users/nixos/default.nix b/users/nixos/default.nix index 38bf20fd0..262107df7 100644 --- a/users/nixos/default.nix +++ b/users/nixos/default.nix @@ -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 = {