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

View File

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