From 9bebee33af4f36df0fff3bf3fc08157e88f6eb40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20Vask=C3=B3?= Date: Sat, 17 Oct 2020 23:17:08 +0000 Subject: [PATCH] work around #62 --- flake.nix | 5 +---- modules/home-manager.nix | 1 + 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/flake.nix b/flake.nix index 723bed1..34ccbeb 100644 --- a/flake.nix +++ b/flake.nix @@ -4,8 +4,6 @@ inputs = { home-manager.url = "github:rycee/home-manager"; nix-doom-emacs.url = "github:vlaci/nix-doom-emacs/flake"; - doomPrivateDir.url = "/path/to/doom.d"; - doomPrivateDir.flake = false; }; outputs = { @@ -13,7 +11,6 @@ nixpkgs, home-manager, nix-doom-emacs, - doomPrivateDir, ... }: { nixosConfigurations.exampleHost = nixpkgs.lib.nixosSystem { @@ -25,7 +22,7 @@ imports = [ nix-doom-emacs.hmModule ]; home.doom-emacs = { enable = true; - inherit doomPrivateDir; + doomPrivateDir = ./path/to/doom.d; }; }; } diff --git a/modules/home-manager.nix b/modules/home-manager.nix index ee2616e..e5250ff 100644 --- a/modules/home-manager.nix +++ b/modules/home-manager.nix @@ -14,6 +14,7 @@ in The specified directory should contain yoour `init.el`, `config.el` and `packages.el` files. ''; + apply = path: builtins.path { inherit path; }; }; extraConfig = mkOption { description = ''