Commit graph

1072 commits

Author SHA1 Message Date
0b2f2100cc
feat(nixos): add platform module for different architectures 2025-07-07 17:42:30 +08:00
27161d6b13
refactor: rename modules/flake to flake-parts, hosts to configurations 2025-07-07 17:42:30 +08:00
f78770d4f1
feat(git): add git module, set user config 2025-07-07 17:42:30 +08:00
a71cbb544a
feat(hm): add git config to rafiq home, use forAllUsers' 2025-07-07 17:42:30 +08:00
46f631aab1
feat(shell): enable shell in home-manager module 2025-07-07 17:42:30 +08:00
0ca6436522
feat(users): add shell module, simplify users module 2025-07-07 17:42:30 +08:00
a3ed4c608d
feat(users): use forAllUsers' in nixos module 2025-07-07 17:42:30 +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
b7358cd825
feat(hm): add sharedModules, move configurations.nix to hosts.nix 2025-07-07 17:42:30 +08:00
bd347b9889
refactor: move readme to docs dir, update nix file 2025-07-07 17:42:30 +08:00
c26c432890
feat(nixos): pass hostName to nixosSystem, move hm modules 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
99f984a523
refactor(users): move owner config to users config in manifest 2025-07-07 17:42:30 +08:00
51071f4107
build(flake): bump inputs 2025-07-07 17:42:30 +08:00
72f9fad9eb
feat(git): add .gitignore and pre-commit config to gitignore 2025-07-07 17:42:30 +08:00
52322afe1c
chore: remove pre-commit config symlink 2025-07-07 17:42:30 +08:00
fc477267ed
docs(readme): add acknowledgements and git links 2025-07-07 17:42:30 +08:00
95fea9184e
refactor(configurations): add default nixos module 2025-07-07 17:42:30 +08:00
aef828b713
feat(nixos): add owner config to manifest and users module 2025-07-07 17:42:30 +08:00
f670889e29
build(flake): add home-manager and example config 2025-07-07 17:42:30 +08:00
1fc8230bfc
refactor: move flake-parts modules to nix/modules/flake 2025-07-07 17:42:30 +08:00
0ea17b9fd8
refactor: rename nixos.nix to configurations.nix 2025-07-07 17:42:30 +08:00
c49beb7c57
refactor: rename hostSpec to manifest and update references 2025-07-07 17:42:30 +08:00
2dd8d0f73d
feat(readme): add structure section and update README.md 2025-07-07 17:42:30 +08:00
e884735f25
refactor: rename modules directory to nix 2025-07-07 17:42:30 +08:00
5501c39e31
feat(lib/mkSystem): add profile suppoet
This commit adds the mkSystem function to simplify nixosSystem
creation and merge profile configs.
2025-07-07 17:42:30 +08:00
90899b5d37
refactor(nixos): move nixosSystem config to lib
Moves the nixosSystem configuration logic to a library function for reuse.
2025-07-07 17:42:30 +08:00
c9636b0bfa
feat(nixos): pass flakeConfig to nixosSystem specialArgs 2025-07-07 17:42:30 +08:00
88318c2e39
feat(lib): add flattenAttrs helper 2025-07-07 17:42:30 +08:00
210ce03fff
feat(hostSpec): add apollo and nemesis hosts (WIP) 2025-07-07 17:42:30 +08:00
b984f5a084
feat(nixos): pass hostConfig to nixosSystem specialArgs 2025-07-07 17:42:30 +08:00
4baf606551
feat(nixos): add common nixos profile; move hostspec config 2025-07-07 17:42:30 +08:00
6a1aa5f30b
feat(hostSpec): add extraCfg to hostSpec and imports to nixosSystem 2025-07-07 17:42:30 +08:00
5ea055f053
feat: add nix-systems/default flake and remove systems module 2025-07-07 17:42:30 +08:00
691b925148
refactor: move docs/readme and docs/cheatsheet to flake-parts 2025-07-07 17:42:30 +08:00
03a43150a1
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 17:42:30 +08:00
e385783de2
feat(nixos): pass inputs and hostName as specialArgs to nixosSystem 2025-07-07 17:42:30 +08:00
b43476ccee
refactor(nixos): change hostSpec to define top level option 2025-07-07 17:42:30 +08:00
6aa5096172
feat(owner): add module to define owner metadata in flake 2025-07-07 17:42:29 +08:00
b370a9d7db
feat(hostSpec): add module to define hosts in flake 2025-07-07 17:42:29 +08:00
09f9a33620
feat(git-hooks): add more git-hooks and linters 2025-07-07 17:42:29 +08:00
2599d2e49c
feat(git-hooks): enable nixpkgs-fmt pre-commit hook 2025-07-07 17:42:29 +08:00
1b36bdc36d
chore(helpers/text): add TODO comment to extract into repo 2025-07-07 17:42:22 +08:00
b87595ccda
chore(readme): remove order attributes from readme module 2025-07-07 17:42:22 +08:00
9420f4b84c
feat(helpers/text): add support for unordered parts 2025-07-07 17:42:22 +08:00
2c77ff76ba
fix(files): remove TODO comment from files module 2025-07-07 17:42:22 +08:00
145200480d
feat(readme): add headings and descriptions to text.readme 2025-07-07 17:42:22 +08:00
9b54a02eaa
feat(helpers/text): add headings and descriptions 2025-07-07 17:42:22 +08:00
dd0ff1e6ac
feat(docs): add cheatsheet 2025-07-07 17:42:22 +08:00