feat: move to single-user config
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user