config: add sops-nix home-manager module

This commit is contained in:
Gabriel Arazas 2023-07-24 17:45:51 +08:00
parent 97197a03a7
commit 152b7248c5
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC

View File

@ -242,7 +242,10 @@
# configurations with `nixpkgs.useGlobalPkgs` set to `true` so avoid
# setting nixpkgs-related options here.
userSharedConfig = { pkgs, config, ... }: {
imports = [ inputs.nur.hmModules.nur ];
imports = [
inputs.nur.hmModules.nur
inputs.sops-nix.homeManagerModules.sops
];
# Hardcoding this is not really great especially if you consider using
# other locales but its default values are already hardcoded so what