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 = ''