summaryrefslogtreecommitdiff
path: root/os/core/home-manager.nix
diff options
context:
space:
mode:
Diffstat (limited to 'os/core/home-manager.nix')
-rw-r--r--os/core/home-manager.nix26
1 files changed, 17 insertions, 9 deletions
diff --git a/os/core/home-manager.nix b/os/core/home-manager.nix
index 32b39b8..63f3dfd 100644
--- a/os/core/home-manager.nix
+++ b/os/core/home-manager.nix
@@ -1,4 +1,10 @@
-{ inputs, config, lib, username, ... }:
+{
+ inputs,
+ config,
+ lib,
+ username,
+ ...
+}:
let
cfg = config.os.core.home-manager;
in
@@ -9,16 +15,18 @@ in
enable = lib.mkEnableOption "home Manager configuration";
users = lib.mkOption {
- default = {};
+ default = { };
description = "Attribute set of users and their home-manager configurations";
- type = lib.types.attrsOf (lib.types.submodule {
- options = {
- path = lib.mkOption {
- type = lib.types.path;
- description = "Path to the user's home.nix file";
+ type = lib.types.attrsOf (
+ lib.types.submodule {
+ options = {
+ path = lib.mkOption {
+ type = lib.types.path;
+ description = "Path to the user's home.nix file";
+ };
};
- };
- });
+ }
+ );
};
};
config = lib.mkIf cfg.enable {