fixed?
This commit is contained in:
@@ -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
|
||||
];
|
||||
};
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user