OOKNET                             [ /  search the index  ]  
──────────────────────────────────────────────────────────────────────────────────────
══════════════════════════════════════════════════════════════════════════════════════
OOKNET   [ /  search  ]  
────────────────────────────────────────────────
════════════════════════════════════════════════
 
HASH      9acc234f9a80
DATE      2025-04-17
SUBJECT   darwin: import common home-manager modules
FILES     1 CHANGED
HASH      9acc234f9a80
DATE      2025-04-17
SUBJECT   darwin: import common home-manager
          modules
FILES     1 CHANGED
 

diff --git a/modules/darwin/default.nix b/modules/darwin/default.nix
index 0967ef4..973aabe 100644
--- a/modules/darwin/default.nix
+++ b/modules/darwin/default.nix
@@ -1 +1,24 @@
-{}
+{
+  lib,
+  config,
+  self,
+  ...
+}: let
+  inherit (lib) optionalAttrs;
+  inherit (config.ooknet.host) admin guest;
+in {
+  imports = [
+    ./system.nix
+  ];
+  home-manager.users =
+    (optionalAttrs admin.homeManager {
+      "${admin.name}" = {
+        imports = ["${self}/modules/home/common"];
+      };
+    })
+    // (optionalAttrs guest.homeManager {
+      "${guest.name}" = {
+        imports = ["${self}/modules/home/common"];
+      };
+    });
+}

diff --git a/modules/darwin/default.nix b/mo
dules/darwin/default.nix
index 0967ef4..973aabe 100644
--- a/modules/darwin/default.nix
+++ b/modules/darwin/default.nix
@@ -1 +1,24 @@
-{}
+{
+  lib,
+  config,
+  self,
+  ...
+}: let
+  inherit (lib) optionalAttrs;
+  inherit (config.ooknet.host) admin guest;
+in {
+  imports = [
+    ./system.nix
+  ];
+  home-manager.users =
+    (optionalAttrs admin.homeManager {
+      "${admin.name}" = {
+        imports = ["${self}/modules/home/co
mmon"];
+      };
+    })
+    // (optionalAttrs guest.homeManager {
+      "${guest.name}" = {
+        imports = ["${self}/modules/home/co
mmon"];
+      };
+    });
+}
 
[ BACK TO LOG ]
──────────────────────────────────────────────────────────────────────────────────────
OOKNET
────────────────────────────────────────────────
OOKNET