force homemanager to be installed from flake (stupid nixos/nix-darwin not leting me import dynamically)
This commit is contained in:
parent
31e8e6f462
commit
c5db0903fa
5 changed files with 9 additions and 17 deletions
|
|
@ -3,11 +3,7 @@ with lib;
|
|||
let
|
||||
cfg = config.nyxs-nix.services.home;
|
||||
in {
|
||||
imports = if pkgs.stdenv.isLinux
|
||||
then [ inputs.home-manager.nixosModules.home-manager ]
|
||||
else [ inputs.home-manager.darwinModules.home-manager ];
|
||||
|
||||
options.nyxs-nix.services.home = with types; {
|
||||
options.nyxs-nix.services.home = with lib.types; {
|
||||
enable = mkEnableOption "Enable Home Manager";
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue