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.nix16
1 files changed, 16 insertions, 0 deletions
diff --git a/users/user-common.nix b/users/user-common.nix
new file mode 100644
index 0000000..4b60044
--- /dev/null
+++ b/users/user-common.nix
@@ -0,0 +1,16 @@
+{pkgs, config, ...}: {
+ # 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;
+
+ })
+ ];
+ };
+}