Refactor desktop HM into desktop-home-base and per-host home.nix
This commit is contained in:
@@ -10,8 +10,8 @@
|
||||
./hardware/uconsole-gamepad.nix
|
||||
];
|
||||
|
||||
# Root module: chiasson.home.enable + bash. Everything else is separate `wisdom*` exports —
|
||||
# pull those into `home.users.<name>.extraModules` on each host as needed.
|
||||
# Root module: chiasson.home.enable + bash. Other `wisdom*` slices auto-wire via
|
||||
# `lib.wisdomCatalogExtraModules`; hosts flip `chiasson.home.*.enable` rather than re-importing.
|
||||
flake.homeManagerModules.wisdom =
|
||||
{ config, lib, ... }:
|
||||
let
|
||||
@@ -24,8 +24,8 @@
|
||||
|
||||
options.chiasson.home = {
|
||||
enable = lib.mkEnableOption ''
|
||||
HM profile root for this flake (bash on by default). Wire other `wisdom*` modules in
|
||||
`home.users.<name>.extraModules` and flip their `chiasson.home.*.enable` options on the host.
|
||||
HM profile root for this flake (bash on by default). Desktop hosts use
|
||||
`lib.wisdomCatalogExtraModules` once per user and flip `chiasson.home.*.enable` on the host.
|
||||
'' // {
|
||||
default = true;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user