diff options
| author | adikro <adikro@disroot.org> | 2026-01-19 11:43:42 +0100 |
|---|---|---|
| committer | adikro <adikro@disroot.org> | 2026-01-19 11:43:42 +0100 |
| commit | d2571482b4eb5660fd92727efb4e5254df06e45e (patch) | |
| tree | b94282d6f250a82587c25689cba8a1dc1a2f2d96 /os/core/home-manager.nix | |
| parent | 760a0edc2937fab375898bbd2f2a3011eb8c9756 (diff) | |
a lot of changes
Diffstat (limited to 'os/core/home-manager.nix')
| -rw-r--r-- | os/core/home-manager.nix | 26 |
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 { |
