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