feat(home-manager): install sops-nix when using standalone home-manager

This commit is contained in:
Yorick Barbanneau 2024-10-08 09:41:03 +02:00
parent 43e3c37e71
commit 9edca93fd5

View file

@ -1,10 +1,11 @@
{ stateVersion, username, ... }:
{ stateVersion, username, inputs, ... }:
{
home.stateVersion = stateVersion;
home.username = "${username}";
home.homeDirectory = "/home/${username}";
fonts.fontconfig.enable = true;
imports = [
inputs.sops-nix.homeManagerModules.sops
./base.nix
../nixos/includes/system/overlay.nix
];