13f35677be
Move Home Manager module defaults from a centralized `desktop-home-defaults.nix` file into their respective `wisdom` slices. This change aligns with the updated documentation regarding module ownership, where defaults live with the option that owns them rather than in a shared defaults file. Additionally, update `docs/conventions.md` to reflect this new pattern for defining `mkEnableOption` defaults and move base git/encryption configurations into the core `wisdom` module. - Delete `modules/hosts/desktop-home-defaults.nix` - Update `modules/wisdom/default.nix` to include shared git and package defaults - Add `default = ...` to `mkEnableOption` in various `wisdom` modules - Update `docs/conventions.md` with new HM slice guidelines
23 lines
800 B
Nix
23 lines
800 B
Nix
# Shared Home Manager selection for all desktop hosts (14900k, t2mbp, ideapad, uConsole).
|
|
# Wisdom slices resolved here (NixOS has `self`); toggles select what actually installs.
|
|
{ self, ... }:
|
|
{
|
|
flake.nixosModules.desktopHomeBase =
|
|
{ config, lib, ... }:
|
|
{
|
|
chiasson.system.chromiumHevc.enable = lib.mkDefault true;
|
|
|
|
chiasson.system.caching.attic = lib.mkDefault {
|
|
enable = true;
|
|
cacheName = "nixos-new";
|
|
endpoint = "http://192.168.2.238:8080/";
|
|
publicKey = "nixos-new:8NySIcT0HP7KvGQKgBRWoWESxxRA8BVYo8S85UNpNX0=";
|
|
tokenFile = config.sops.secrets."caching/attic/token".path;
|
|
push.enable = true;
|
|
userCli.enable = true;
|
|
};
|
|
|
|
chiasson.users.extraModules.olivier = self.lib.wisdomCatalogExtraModules self;
|
|
};
|
|
}
|