Commit graph

40 commits

Author SHA1 Message Date
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
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
ea408abfce
feat(git): add .gitignore and pre-commit config to gitignore 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