diff --git a/modules/home/secrets.nix b/modules/home/secrets.nix index a4c86774..48892d9c 100644 --- a/modules/home/secrets.nix +++ b/modules/home/secrets.nix @@ -1,10 +1,8 @@ { - lib, self, name, config, inputs, - osConfig, ... }: { @@ -12,7 +10,6 @@ config = { sops = { - package = lib.mkIf (osConfig ? sops) osConfig.sops.package; defaultSopsFile = "${self}/secrets/${name}.yaml"; age.keyFile = "${config.xdg.configHome}/sops/age/keys.txt"; }; diff --git a/modules/nixos/secrets.nix b/modules/nixos/secrets.nix index 00846278..6cffd6d4 100644 --- a/modules/nixos/secrets.nix +++ b/modules/nixos/secrets.nix @@ -1,17 +1,8 @@ -{ inputs, inputs', ... }: +{ inputs, ... }: { imports = [ inputs.sops.nixosModules.sops ]; sops = { - # https://github.com/Mic92/sops-nix/issues/908 - package = inputs'.sops.packages.sops-install-secrets.overrideAttrs { - enableParallelBuilding = false; - enableParallelChecking = false; - enableParallelInstalling = false; - postInstall = ""; - outputs = [ "out" ]; - }; - # do muh stuff age.keyFile = "/var/lib/sops-nix/key.txt";