Commit graph

8 commits

Author SHA1 Message Date
5d24a11990
feat(lib): add admin user using custom lib function 2025-07-07 17:42:31 +08:00
4e74db3938
refactor(lib): add lib output to flake
This is needed so we can use subattributes of flake.lib
2025-07-07 17:42:31 +08:00
1dc3f4bf44
fix(nix): remove flattenAttrs
unfortunately modules don't like to be merged
2025-07-07 17:42:31 +08:00
07413c4ac0
feat(nix): add forAllUsers' and docstrings to lib
Adds forAllUsers' function and docstrings to nix lib.
2025-07-07 17:42:30 +08:00
46cf93f69b
feat(nix): add system module, pass config to lib
This commit introduces a system module for NixOS and Home Manager,
and passes the configuration to the lib file.
2025-07-07 17:42:30 +08:00
f7873d54d3
refactor(nixos): simplify configurations.nix and lib
This commit refactors configurations.nix and lib/default.nix by removing the
extractConfigurations function and related code from lib/default.nix,
and moving the NixOS system building logic directly into configurations.nix.
It also changes the structure of hosts in manifest.nix to use a
hosts.nixos attribute.
2025-07-07 17:42:30 +08:00
95fea9184e
refactor(configurations): add default nixos module 2025-07-07 17:42:30 +08:00
e884735f25
refactor: rename modules directory to nix 2025-07-07 17:42:30 +08:00