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