From 892de67a9f64d0b0cdb023d830a019d8feec0a57 Mon Sep 17 00:00:00 2001 From: Jakub Stachurski Date: Wed, 19 Nov 2025 21:02:52 +0100 Subject: Nix fmt --- users/user-common.nix | 39 ++++++++++++++++++++++++--------------- 1 file changed, 24 insertions(+), 15 deletions(-) (limited to 'users/user-common.nix') diff --git a/users/user-common.nix b/users/user-common.nix index b6da2bb..4d0e8ad 100644 --- a/users/user-common.nix +++ b/users/user-common.nix @@ -1,17 +1,26 @@ -{pkgs, config, inputs, ...}: { - # Pass host config to HM (Common config) - # TODO: Move this somewhere else. - home-manager = { - useUserPackages = true; - useGlobalPkgs = true; - backupFileExtension = "bak"; - - sharedModules = [ - ({ ...}: { - _module.args.hostconfig = config; +{ + pkgs, + config, + inputs, + ... +}: +{ + # Pass host config to HM (Common config) + # TODO: Move this somewhere else. + home-manager = { + useUserPackages = true; + useGlobalPkgs = true; + backupFileExtension = "bak"; - }) - inputs.sops-nix.homeManagerModules.sops - ]; - }; + sharedModules = [ + ( + { ... }: + { + _module.args.hostconfig = config; + _module.args.inputs = inputs; + } + ) + inputs.sops-nix.homeManagerModules.sops + ]; + }; } -- cgit v1.3.1