summaryrefslogtreecommitdiff
path: root/users/user-common.nix
diff options
context:
space:
mode:
Diffstat (limited to 'users/user-common.nix')
-rw-r--r--users/user-common.nix39
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
+ ];
+ };
}