feat: move to single-user config

This commit is contained in:
2026-04-26 18:08:48 +02:00
parent 75ba00929e
commit dba24ce5f3
27 changed files with 160 additions and 300 deletions
+4 -4
View File
@@ -1,5 +1,6 @@
{ config, lib, ... }:
let
account = config.repo.account;
homeModules = config.flake.modules.homeManager;
in
{
@@ -7,15 +8,14 @@ in
{
config,
lib,
osConfig,
...
}:
let
machine = config.meta.machine;
user = config.meta.user;
account = user.account;
machine = osConfig.meta.machine;
sourceControl = account.sourceControl;
scopeConfig = scope: user.sourceControl.${scope} or null;
scopeConfig = scope: machine.sourceControl.${scope} or null;
emailForScope =
scope: