From d2571482b4eb5660fd92727efb4e5254df06e45e Mon Sep 17 00:00:00 2001 From: adikro Date: Mon, 19 Jan 2026 11:43:42 +0100 Subject: a lot of changes --- os/core/home-manager.nix | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) (limited to 'os/core/home-manager.nix') 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 { -- cgit v1.3