refactor: shared config metadata
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
}:
|
||||
let
|
||||
metaLib = config.meta.lib;
|
||||
metaRepo = metaLib.repo;
|
||||
in
|
||||
{
|
||||
flake.modules.nixos.theme =
|
||||
@@ -12,7 +13,7 @@ in
|
||||
...
|
||||
}:
|
||||
let
|
||||
repoTheme = metaLib.repo.theme;
|
||||
repoTheme = metaRepo.theme;
|
||||
cursorTheme = repoTheme.cursor // {
|
||||
package = metaLib.resolvePackagePath {
|
||||
inherit pkgs;
|
||||
@@ -34,7 +35,7 @@ in
|
||||
flake.modules.homeManager.theme =
|
||||
{ config, pkgs, ... }:
|
||||
let
|
||||
repoTheme = metaLib.repo.theme;
|
||||
repoTheme = metaRepo.theme;
|
||||
cursorTheme = repoTheme.cursor // {
|
||||
package = metaLib.resolvePackagePath {
|
||||
inherit pkgs;
|
||||
|
||||
Reference in New Issue
Block a user