work around #62

This commit is contained in:
László Vaskó
2020-10-17 23:17:08 +00:00
parent dd6819f0e0
commit 9bebee33af
2 changed files with 2 additions and 4 deletions

View File

@ -4,8 +4,6 @@
inputs = { inputs = {
home-manager.url = "github:rycee/home-manager"; home-manager.url = "github:rycee/home-manager";
nix-doom-emacs.url = "github:vlaci/nix-doom-emacs/flake"; nix-doom-emacs.url = "github:vlaci/nix-doom-emacs/flake";
doomPrivateDir.url = "/path/to/doom.d";
doomPrivateDir.flake = false;
}; };
outputs = { outputs = {
@ -13,7 +11,6 @@
nixpkgs, nixpkgs,
home-manager, home-manager,
nix-doom-emacs, nix-doom-emacs,
doomPrivateDir,
... ...
}: { }: {
nixosConfigurations.exampleHost = nixpkgs.lib.nixosSystem { nixosConfigurations.exampleHost = nixpkgs.lib.nixosSystem {
@ -25,7 +22,7 @@
imports = [ nix-doom-emacs.hmModule ]; imports = [ nix-doom-emacs.hmModule ];
home.doom-emacs = { home.doom-emacs = {
enable = true; enable = true;
inherit doomPrivateDir; doomPrivateDir = ./path/to/doom.d;
}; };
}; };
} }

View File

@ -14,6 +14,7 @@ in
The specified directory should contain yoour `init.el`, `config.el` and The specified directory should contain yoour `init.el`, `config.el` and
`packages.el` files. `packages.el` files.
''; '';
apply = path: builtins.path { inherit path; };
}; };
extraConfig = mkOption { extraConfig = mkOption {
description = '' description = ''