reformatted
This commit is contained in:
@@ -3,11 +3,10 @@ let
|
||||
username = "john";
|
||||
in
|
||||
{
|
||||
flake = {
|
||||
meta.users."${username}" = {
|
||||
flake.meta.users."${username}" = {
|
||||
email = "32917998+jsl12@users.noreply.github.com";
|
||||
name = "John Lancaster";
|
||||
username = "${username}";
|
||||
inherit username;
|
||||
key = "";
|
||||
keygrip = [
|
||||
];
|
||||
@@ -17,8 +16,7 @@ in
|
||||
];
|
||||
};
|
||||
|
||||
modules = {
|
||||
nixos."${username}" = {
|
||||
flake.modules.nixos."${username}" = {
|
||||
imports = [
|
||||
inputs.home-manager.nixosModules.home-manager
|
||||
(inputs.self.factory.user username true).nixos."${username}"
|
||||
@@ -29,7 +27,7 @@ in
|
||||
};
|
||||
};
|
||||
|
||||
homeManager."${username}" = with inputs.self.meta.users."${username}"; {
|
||||
flake.modules.homeManager."${username}" = with inputs.self.meta.users."${username}"; {
|
||||
home.stateVersion = "25.11";
|
||||
xdg.enable = true;
|
||||
|
||||
@@ -42,6 +40,4 @@ in
|
||||
git
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user