diff options
| author | Jakub Stachurski <j.stachurski@student.utwente.nl> | 2025-11-19 21:02:52 +0100 |
|---|---|---|
| committer | Jakub Stachurski <j.stachurski@student.utwente.nl> | 2025-11-19 21:02:52 +0100 |
| commit | 892de67a9f64d0b0cdb023d830a019d8feec0a57 (patch) | |
| tree | 0c5fd0c60ef93bb5cdc5f83c8cade0c5dddb4899 /users/user-common.nix | |
| parent | f5b37610b3835ea26757ef36d554ec598d53100c (diff) | |
Nix fmt
Diffstat (limited to '')
| -rw-r--r-- | users/user-common.nix | 39 |
1 files changed, 24 insertions, 15 deletions
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 + ]; + }; } |
