4ff7b8e18f
feat(nixos): add user password secrets to sops
...
This commit adds the user password secrets to sops.
It leverages the `userListToAttrs` lib function.
2025-07-07 17:42:31 +08:00
782a4324a8
feat(lib): add userListToAttrs function
2025-07-07 17:42:31 +08:00
85f2cee212
feat(nixos): add sops module for secrets
...
Adds .sops.yaml file and sops module to nixos to manage secrets.
2025-07-07 17:42:31 +08:00
d7b8edd054
feat(nix): add sops-nix to flake inputs
2025-07-07 17:42:31 +08:00
5d24a11990
feat(lib): add admin user using custom lib function
2025-07-07 17:42:31 +08:00
da6fa1b9df
refactor(nix): rename lib.nix to meta.nix and add flake.root option
2025-07-07 17:42:31 +08:00
0c2b6b57d9
refactor(lib): remove references to top level lib
2025-07-07 17:42:31 +08:00
9403daff02
refactor(nix): move unfree packages module to options
2025-07-07 17:42:31 +08:00
8c2b1dfc6e
feat(nixos): move persist options to system and users modules
2025-07-07 17:42:31 +08:00
6d43b0db3b
feat(nixos): make persist options
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
9abcb6c85b
feat(nixos): add impermanence module for ephemeral roots
2025-07-07 17:42:31 +08:00
714c3b8940
feat(nixos): add disko module for declarative partitioning
2025-07-07 17:42:31 +08:00
06a3f024c5
feat(nixos): add gpu module for nvidia config
2025-07-07 17:42:30 +08:00
5a94f19922
feat(nix): add unfree-packages module
2025-07-07 17:42:30 +08:00
12b7a4b7e0
feat(debug): enable flake-parts debug
2025-07-07 17:42:30 +08:00
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
6e7fc72d38
feat(files): generate list of generated files dynamically
2025-07-07 17:42:22 +08:00
63609ffa14
build(flake.lock,flake.nix): add git-hooks and dedupe_gitignore
2025-07-07 17:42:22 +08:00
295f5daba9
feat: add files module, text helper, and update readme generation
2025-07-07 17:42:22 +08:00
a19ede01a2
feat: basic flake-parts structure, make-shell, files and readme
2025-07-07 17:42:22 +08:00
6c59366f8f
feat: initial flake setup with flake-parts
...
Sets up a basic flake with flake-parts for modularity.
2025-07-07 17:42:22 +08:00
c81d8dfc9f
chore(tree-wide): rm everything for rebase
2025-07-07 17:42:20 +08:00
abfbb5aa09
feat: rework hostSpec to use providers and machine definitions
2025-07-07 17:41:47 +08:00
69d942a1be
feat: add rebuild package definition
2025-07-07 17:41:47 +08:00
670af2b207
refactor: use flake-parts, keep snowfall-lib for compatibility
2025-07-07 17:41:47 +08:00
66396761aa
docs: improve README structure, add headings
2025-07-07 17:41:47 +08:00
af256488f0
docs: add structure section to README
2025-07-07 17:41:47 +08:00
e24714a3c7
feat(nvf): add flake snippet to nvf snippets
2025-07-07 14:28:47 +08:00