This commit is contained in:
mjallen18
2025-12-14 21:50:50 -06:00
parent 0012a019fc
commit 34539045e5
41 changed files with 164 additions and 251 deletions

View File

@@ -1,4 +1,4 @@
{ inputs }:
{ inputs, namespace }:
let
inherit (inputs.nixpkgs.lib) filterAttrs mapAttrs';
in
@@ -7,7 +7,7 @@ in
flake: nixpkgs:
nixpkgs.lib.extend (
_final: _prev: {
mjallen = flake.mjallen-lib;
mjallen = flake.${namespace}-lib;
}
);
@@ -30,7 +30,7 @@ in
hostname,
}:
let
inherit (flake.mjallen-lib.file) scanHomes;
inherit (flake.${namespace}-lib.file) scanHomes;
homesPath = ../../homes;
allHomes = scanHomes homesPath;
in
@@ -59,7 +59,7 @@ in
sharedModules = [
{ _module.args.lib = extendedLib; }
]
++ (extendedLib.mjallen.file.importModulesRecursive ../../modules/home);
++ (extendedLib.${namespace}.file.importModulesRecursive ../../modules/home);
users = mapAttrs' (_name: homeConfig: {
name = homeConfig.username;
value = {