Commit graph

965 commits

Author SHA1 Message Date
c2686b48ec
feat(users): use forAllUsers' in nixos module 2025-07-07 09:51:53 +08:00
8511991d9c
feat(nix): add forAllUsers' and docstrings to lib
Adds forAllUsers' function and docstrings to nix lib.
2025-07-07 09:51:53 +08:00
e104d89793
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 09:51:53 +08:00
f44b3ee8ce
feat(hm): add sharedModules, move configurations.nix to hosts.nix 2025-07-07 09:51:53 +08:00
24d6e31e8d
refactor: move readme to docs dir, update nix file 2025-07-07 09:51:53 +08:00
94e045e0f3
feat(nixos): pass hostName to nixosSystem, move hm modules 2025-07-07 09:51:53 +08:00
f71c65f639
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 09:51:53 +08:00
94728cdc83
refactor(users): move owner config to users config in manifest 2025-07-07 09:51:53 +08:00
2439544ccf
build(flake): bump inputs 2025-07-07 09:51:53 +08:00
ea408abfce
feat(git): add .gitignore and pre-commit config to gitignore 2025-07-07 09:51:53 +08:00
ffa769c01e
chore: remove pre-commit config symlink 2025-07-07 09:51:53 +08:00
a79fe97fee
docs(readme): add acknowledgements and git links 2025-07-07 09:51:53 +08:00
966ed51a21
refactor(configurations): add default nixos module 2025-07-07 09:51:53 +08:00
90a42fc7d5
feat(nixos): add owner config to manifest and users module 2025-07-07 09:51:53 +08:00
b6ba95a93c
build(flake): add home-manager and example config 2025-07-07 09:51:53 +08:00
53fe600399
refactor: move flake-parts modules to nix/modules/flake 2025-07-07 09:51:53 +08:00
2fe89b9e00
refactor: rename nixos.nix to configurations.nix 2025-07-07 09:51:53 +08:00
2885fe99bb
refactor: rename hostSpec to manifest and update references 2025-07-07 09:51:53 +08:00
5cbffbe90c
feat(readme): add structure section and update README.md 2025-07-07 09:51:53 +08:00
4270e3a304
refactor: rename modules directory to nix 2025-07-07 09:51:53 +08:00
dd665a2f86
feat(lib/mkSystem): add profile suppoet
This commit adds the mkSystem function to simplify nixosSystem
creation and merge profile configs.
2025-07-07 09:51:53 +08:00
3c4bfeece9
refactor(nixos): move nixosSystem config to lib
Moves the nixosSystem configuration logic to a library function for reuse.
2025-07-07 09:51:53 +08:00
61064b955d
feat(nixos): pass flakeConfig to nixosSystem specialArgs 2025-07-07 09:51:53 +08:00
eed6e45067
feat(lib): add flattenAttrs helper 2025-07-07 09:51:53 +08:00
69b626307a
feat(hostSpec): add apollo and nemesis hosts (WIP) 2025-07-07 09:51:53 +08:00
c3c1ca78f6
feat(nixos): pass hostConfig to nixosSystem specialArgs 2025-07-07 09:51:53 +08:00
8f9f400f92
feat(nixos): add common nixos profile; move hostspec config 2025-07-07 09:51:53 +08:00
7f6c65320a
feat(hostSpec): add extraCfg to hostSpec and imports to nixosSystem 2025-07-07 09:51:53 +08:00
7155c1276d
feat: add nix-systems/default flake and remove systems module 2025-07-07 09:51:53 +08:00
a103193459
refactor: move docs/readme and docs/cheatsheet to flake-parts 2025-07-07 09:51:53 +08:00
7a74f1d6c0
refactor(text): extract text helper to rrvsh/text.nix
This commit adds the rrvsh/text.nix flake to manage text generation.
It also removes the old text generation helpers module and updates the
README and flake.nix files to use the new flake.
2025-07-07 09:51:53 +08:00
f8e81564d3
feat(nixos): pass inputs and hostName as specialArgs to nixosSystem 2025-07-07 09:51:53 +08:00
3e11c923ac
refactor(nixos): change hostSpec to define top level option 2025-07-07 09:51:53 +08:00
30c0b3c804
feat(owner): add module to define owner metadata in flake 2025-07-07 09:51:53 +08:00
72e28fd387
feat(hostSpec): add module to define hosts in flake 2025-07-07 09:51:53 +08:00
8a0a7f57e8
feat(git-hooks): add more git-hooks and linters 2025-07-07 09:51:53 +08:00
5020df56b6
feat(git-hooks): enable nixpkgs-fmt pre-commit hook 2025-07-07 09:51:53 +08:00
aee34b5a0a
chore(helpers/text): add TODO comment to extract into repo 2025-07-07 09:51:43 +08:00
816c25a459
chore(readme): remove order attributes from readme module 2025-07-07 09:51:43 +08:00
5f1536d44b
feat(helpers/text): add support for unordered parts 2025-07-07 09:51:43 +08:00
a160c6d5dd
fix(files): remove TODO comment from files module 2025-07-07 09:51:43 +08:00
9ac010c5a0
feat(readme): add headings and descriptions to text.readme 2025-07-07 09:51:43 +08:00
ce56879983
feat(helpers/text): add headings and descriptions 2025-07-07 09:51:43 +08:00
8c38ccea4b
feat(docs): add cheatsheet 2025-07-07 09:51:43 +08:00
8a69549741
feat(files): generate list of generated files dynamically 2025-07-07 09:51:43 +08:00
14c5a81672
build(flake.lock,flake.nix): add git-hooks and dedupe_gitignore 2025-07-07 09:51:43 +08:00
521049d8d3
feat: add files module, text helper, and update readme generation 2025-07-07 09:51:43 +08:00
ce8729dcba
feat: basic flake-parts structure, make-shell, files and readme 2025-07-07 09:51:41 +08:00
c45add1cb1
feat: initial flake setup with flake-parts
Sets up a basic flake with flake-parts for modularity.
2025-07-07 09:51:03 +08:00
525001c374
chore(tree-wide): rm everything for rebase 2025-07-07 09:50:59 +08:00