Commit Graph

114 Commits

Author SHA1 Message Date
Gabriel Arazas
be63b23770 Create development shells
Only with the basics for now. I've yet to explore more complex use cases
such as the following repos:

- https://github.com/GTrunSec/Coding-Dev-Env-With-NixFlake
- https://github.com/LavaDesu/flakes

This seems nifty feature especially when doing some project spelunking
or something.
2021-12-13 15:32:58 +08:00
Gabriel Arazas
adf04a9393 Update various configurations
Flake outputs, hosts, users, and formatting of Nix files. et cetera, et
cetera.
2021-12-11 13:37:27 +08:00
Gabriel Arazas
efc578e961 Update modules
- Add `modules.desktop.cleanup` for the usual cleanup activties in
  NixOS.
- Update to proper descriptions for module options added with
  `lib.mkEnableOption`.
- Additional packages for various modules.
- Deleted `modules/home-manager/alacritty`. It is pretty useless though.
  :(
2021-12-11 13:16:45 +08:00
Gabriel Arazas
09f8a1f763 Modularize the library
The flake utilities are too specific. Not going to contribute further
crap in the world. ;p
2021-12-08 12:20:18 +08:00
Gabriel Arazas
c7d2b21756 Revert restructuring 2021-12-06 18:12:00 +08:00
Gabriel Arazas
d4f15e4c0b Modularize flake utilities 2021-12-06 17:56:34 +08:00
Gabriel Arazas
a2ed2a95c9 Update flake outputs
- Added overlays both for NixOS and home-manager configs.
- Fixed path for importing home-manager configurations.
- Added more comments for sanity. :)
2021-12-06 17:53:34 +08:00
Gabriel Arazas
3a022a374a Restructure the modules
I think this is better for separating modules explicitly. This is also
considered as there are similar objects between modules (e.g., NixOS
and home-manager modules and users).

Revert users module to old position
2021-12-06 17:03:39 +08:00
Gabriel Arazas
d676c59cda Update flake output
- Remove package outputs for MacOS since I don't have any.
- Import our custom packages as an overlay for our NixOS configs.
- Recursively import our modules which is more correct.
2021-12-02 22:00:37 +08:00
Gabriel Arazas
2cf96cb1f3 Format the Nix files 2021-11-29 17:58:02 +08:00
Gabriel Arazas
e2699c2cea Update home-manager modules and related configs 2021-11-29 17:56:24 +08:00
Gabriel Arazas
db5fc8269e Update user-specific config
Oh no, now I'm content with creating my own framework instead of using
something like digga or flake-utils.
2021-11-29 13:30:57 +08:00
Gabriel Arazas
a34674f672 Update config 2021-11-27 16:04:01 +08:00
Gabriel Arazas
539a798009 Rewrite as a flake
I revisited NixOS this week and I've rewritten my NixOS config from
scratch. I must say I really like Nix flakes. For whatever reason it
just clicked and I understood more programming with Nix despite my
previous experience which is not good. Could be just the fact I had a
break for a long time from completely using Nix (I still used it on
non-NixOS distros).

Eh... I still took some things from the original inspiration of this
configuration so there's that.
2021-11-25 19:55:30 +08:00