fixed?
This commit is contained in:
@@ -16,6 +16,10 @@
|
|||||||
url = "github:Mic92/sops-nix";
|
url = "github:Mic92/sops-nix";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
resticprofile = {
|
||||||
|
url = "path:./homeManagerModules/restic";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self, nixpkgs, ... }@inputs:
|
outputs = { self, nixpkgs, ... }@inputs:
|
||||||
@@ -55,6 +59,7 @@
|
|||||||
homeManagerModules.default = {
|
homeManagerModules.default = {
|
||||||
imports = [
|
imports = [
|
||||||
./homeManagerModules
|
./homeManagerModules
|
||||||
|
inputs.resticprofile.homeManagerModules.default
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -13,7 +13,8 @@
|
|||||||
../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;
|
# resticprofile is imported in jsl-home/flake.nix homeManagerModules.default
|
||||||
|
];
|
||||||
|
|
||||||
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
|
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
|
||||||
"1password-cli"
|
"1password-cli"
|
||||||
|
|||||||
@@ -53,7 +53,7 @@
|
|||||||
in {
|
in {
|
||||||
imports = [ ./resticprofile.nix ];
|
imports = [ ./resticprofile.nix ];
|
||||||
config = lib.mkIf config.programs.resticprofile.enable {
|
config = lib.mkIf config.programs.resticprofile.enable {
|
||||||
programs.resticprofile.package = lib.mkDefault resticprofilePackage;
|
programs.resticprofile.package = lib.mkForce resticprofilePackage;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
default = self.homeManagerModules.resticprofile;
|
default = self.homeManagerModules.resticprofile;
|
||||||
|
|||||||
Reference in New Issue
Block a user