import fixes

This commit is contained in:
John Lancaster
2026-03-10 23:50:59 -05:00
parent ce55bbc194
commit ed5cecd24d
5 changed files with 11 additions and 9 deletions

View File

@@ -13,8 +13,9 @@ in
inputs.self.modules.nixos.docker
];
home-manager.users."${username}" = {
imports = with inputs.self.modules.homeManager; [
];
# imports = with inputs.self.modules; [
# homeManager."${username}"
# ];
docker.enable = true;
ssh.matchSets = {
certs = true;

View File

@@ -5,6 +5,7 @@ in
{
flake.modules.homeManager."${hostname}" = { pkgs, config, ... }: {
imports = with inputs.self.modules.homeManager; [
# base
rebuild
john
desktop

View File

@@ -15,11 +15,8 @@
"wheel"
];
};
# Import the corresponding homeManager module for the given username
home-manager.users."${username}" = {
imports = [
self.modules.homeManager.base
self.modules.homeManager."${username}"
];
};
@@ -28,6 +25,9 @@
homeManager."${username}" = {
home.username = "${username}";
home.homeDirectory = "/home/${username}";
imports = with self.modules.homeManager; [
base
];
};
};
}

View File

@@ -23,7 +23,6 @@ in
# https://github.com/Doc-Steve/dendritic-design-with-flake-parts/wiki/Dendritic_Aspects#multi-context-aspect
nixos."${username}" = { pkgs, ... }: {
users.users."${username}" = {
isNormalUser = true;
openssh.authorizedKeys.keys = inputs.self.meta.users."${username}".authorizedKeys;
extraGroups = [ "docker" ];
};
@@ -36,9 +35,9 @@ in
programs.git.settings.user.name = "John Lancaster";
programs.git.settings.user.email = "32917998+jsl12@users.noreply.github.com";
imports = with inputs.self.modules.homeManager; [
base
];
# imports = with inputs.self.modules.homeManager; [
# # base
# ];
};
}
];
@@ -48,6 +47,7 @@ in
flake.homeConfigurations."${username}" = inputs.home-manager.lib.homeManagerConfiguration {
pkgs = import inputs.nixpkgs { system = "x86_64-linux"; };
modules = [
inputs.self.modules.homeManager.base
inputs.self.modules.homeManager."${username}"
# Include another inline module to set the options created through the jsl-home modules