changed import method because of a relative path issue

This commit is contained in:
John Lancaster
2025-12-07 11:58:11 -06:00
parent d0d73e19d2
commit 7fd49dcfd5
2 changed files with 6 additions and 4 deletions

View File

@@ -34,7 +34,7 @@
};
mkhomeManagerModules = config: [
(self.homeManagerModules.default inputs)
self.homeManagerModules.default
# { inherit (config) extraImports; }
{
user = config.user;
@@ -52,8 +52,10 @@
{
lib = { inherit mkhomeManagerModules; };
homeManagerModules.default = inputs: {
imports = [ ./homeManagerModules ];
homeManagerModules.default = {
imports = [
./homeManagerModules
];
};
nixosModules.default = { config, ... }: {

View File

@@ -13,7 +13,7 @@
../nixosModules/options.nix
# inputs._1password-shell-plugins.hmModules.default
# Commented out because it tries to configure fish shell which we don't use
];
] ++ lib.optional (inputs ? resticprofile) inputs.resticprofile.homeManagerModules.default;
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
"1password-cli"