changed import method because of a relative path issue
This commit is contained in:
@@ -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, ... }: {
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user