This commit is contained in:
John Lancaster
2026-02-04 22:11:49 -06:00
parent e662bb181a
commit 938fc63481
3 changed files with 8 additions and 2 deletions

View File

@@ -16,6 +16,10 @@
url = "github:Mic92/sops-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
resticprofile = {
url = "path:./homeManagerModules/restic";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { self, nixpkgs, ... }@inputs:
@@ -55,6 +59,7 @@
homeManagerModules.default = {
imports = [
./homeManagerModules
inputs.resticprofile.homeManagerModules.default
];
};

View File

@@ -13,7 +13,8 @@
../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;
# resticprofile is imported in jsl-home/flake.nix homeManagerModules.default
];
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
"1password-cli"

View File

@@ -53,7 +53,7 @@
in {
imports = [ ./resticprofile.nix ];
config = lib.mkIf config.programs.resticprofile.enable {
programs.resticprofile.package = lib.mkDefault resticprofilePackage;
programs.resticprofile.package = lib.mkForce resticprofilePackage;
};
};
default = self.homeManagerModules.resticprofile;