From 979269b42b7d21a763ee37d7b0f97d09b98f947f Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Sat, 11 May 2024 20:28:41 +0200 Subject: [PATCH] Add missing module to `home-manager` --- flake.nix | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/flake.nix b/flake.nix index 0891872..ea38714 100644 --- a/flake.nix +++ b/flake.nix @@ -87,11 +87,17 @@ modules = [ ( { pkgs, ... }: { - config._module.args = { - machine = machine // { - name = hostname; - config = (pkgs.callPackage config { }); + config = { + _module.args = { + machine = machine // { + name = hostname; + config = (pkgs.callPackage config { }); + }; }; + + home-manager.sharedModules = [ + sops-nix.homeManagerModules.sops + ]; }; }) home-manager.nixosModules.home-manager