This commit is contained in:
John Lancaster
2026-03-11 08:49:07 -05:00
parent dac3b84ffb
commit cf2ba8731d
19 changed files with 56 additions and 9 deletions

View File

@@ -20,7 +20,9 @@ in
modules = lib.mkMerge [
(inputs.self.factory.user username true)
{
# https://github.com/Doc-Steve/dendritic-design-with-flake-parts/wiki/Dendritic_Aspects#multi-context-aspect
#
# NixOS
#
nixos."${username}" = { pkgs, ... }: {
users.users."${username}" = {
openssh.authorizedKeys.keys = inputs.self.meta.users."${username}".authorizedKeys;
@@ -28,7 +30,9 @@ in
};
};
# This gets imported by the user factory:
#
# Home Manager
#
homeManager."${username}" = with inputs.self.meta.users."${username}"; {
home.stateVersion = "25.11";
xdg.enable = true;
@@ -36,9 +40,9 @@ in
programs.git.settings.user.name = name;
programs.git.settings.user.email = email;
# imports = with inputs.self.modules.homeManager; [
# # base
# ];
imports = with inputs.self.modules.homeManager; [
# base
];
};
}
];