6b2749671f
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:41:22 +08:00
f53a6c6c99
feat(lib): add userListToAttrs function
2025-07-07 17:23:36 +08:00
d33aabf9d8
feat(nixos): add sops module for secrets
...
Adds .sops.yaml file and sops module to nixos to manage secrets.
2025-07-07 16:55:37 +08:00
986f99715b
feat(nix): add sops-nix to flake inputs
2025-07-07 16:15:20 +08:00
d3ee4cc169
feat(lib): add admin user using custom lib function
2025-07-07 16:14:03 +08:00
28d78dce61
refactor(nix): rename lib.nix to meta.nix and add flake.root option
2025-07-07 14:39:36 +08:00
74d7ec7640
refactor(lib): remove references to top level lib
2025-07-07 14:21:42 +08:00
4deafa11ff
refactor(nix): move unfree packages module to options
2025-07-07 14:17:02 +08:00
36b459475a
feat(nixos): move persist options to system and users modules
2025-07-07 14:15:33 +08:00
a6fdc1b6e6
feat(nixos): make persist options
2025-07-07 14:10:10 +08:00
a83523bbf1
refactor(lib): add lib output to flake
...
This is needed so we can use subattributes of flake.lib
2025-07-07 14:03:38 +08:00
db23edd468
fix(nix): remove flattenAttrs
...
unfortunately modules don't like to be merged
2025-07-07 13:44:35 +08:00
9781042821
feat(nixos): add impermanence module for ephemeral roots
2025-07-07 12:16:14 +08:00
88f2c6a576
feat(nixos): add disko module for declarative partitioning
2025-07-07 11:28:09 +08:00
b91982601f
feat(nixos): add gpu module for nvidia config
2025-07-07 11:18:14 +08:00
63f0ba11ec
feat(nix): add unfree-packages module
2025-07-07 11:15:11 +08:00
ed44b78a6e
feat(debug): enable flake-parts debug
2025-07-07 11:14:07 +08:00
53b8809432
feat(nixos): add platform module for different architectures
2025-07-07 10:38:17 +08:00
3bc649b5b9
refactor: rename modules/flake to flake-parts, hosts to configurations
2025-07-07 09:58:25 +08:00
0c706f4a0b
feat(git): add git module, set user config
2025-07-07 09:51:53 +08:00
afa5f72f8f
feat(hm): add git config to rafiq home, use forAllUsers'
2025-07-07 09:51:53 +08:00
d3d4f646b5
feat(shell): enable shell in home-manager module
2025-07-07 09:51:53 +08:00
3f4ba7523a
feat(users): add shell module, simplify users module
2025-07-07 09:51:53 +08:00
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
a9dff2f9d5
feat: rework hostSpec to use providers and machine definitions
2025-07-07 09:48:45 +08:00
e5c78f5051
feat: add rebuild package definition
2025-07-07 09:48:45 +08:00
1722785ae1
refactor: use flake-parts, keep snowfall-lib for compatibility
2025-07-07 09:48:45 +08:00
fc2ee5468e
docs: improve README structure, add headings
2025-07-07 09:48:45 +08:00
7aa6a45c5e
docs: add structure section to README
2025-07-07 09:48:45 +08:00