Commit Graph

18 Commits

Author SHA1 Message Date
a6d6e224bb
default.nix: use the correct flake-compat input 2024-01-14 12:53:55 +08:00
4333feb2c0
default.nix: convert to flake-compat config
Welp, it is easier to use it so here we are.
2024-01-12 19:24:59 +08:00
3839be59e3
default.nix: add overlays.default 2023-12-25 20:03:42 +08:00
efd7f3d3dd
default.nix: restructure Nix modules export 2023-12-23 11:04:01 +08:00
a5ababe88d
lib: restructure folder structure
To easily support channels and flake.
2023-12-23 11:03:17 +08:00
d3a83233df
default.nix: update with custom overlays 2023-09-26 22:34:14 +08:00
Gabriel Arazas
3a7816a901 chore: reformat codebase 2022-11-19 11:32:29 +08:00
Gabriel Arazas
6a0c115432 default.nix: support for traditional channels
Though, it's limited compared to flakes. I supposed that's better than
nothing.
2022-07-14 08:21:09 +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
Gabriel Arazas
c74dd2ff17 Use nixfmt to all files 2020-10-25 23:49:14 +08:00
Gabriel Arazas
0337611eb1 Update the config 2020-10-20 23:59:30 +08:00
Gabriel Arazas
49592d7f01 Use the unstable version for the nth time
I also fixed the long-time occuring error when using the newest version
of the channel (or the unstable one). It turns out to be a simple type
error with the `my.user' attribute. (To be honest the error messages are
quite horrible.)

On another note, I also accidentally bricked my NixOS setup after a
garbage collection and a horrible update. The breakage includes not
being able to use any of the builtin tools of Nix (e.g., nix, nix-env,
nixos-rebuild) due to a shared library error that has been garbage
collected. Which means I have to reinstall it.
(I seem to have a talent for breaking things, if only I'm paid for it.)
2020-10-05 09:38:58 +08:00
Gabriel Arazas
4085fce69c Make the setup hardware-independent
One of the bigger changes is to make the setup hardware-independent
which is nice for easier (re-)installations.
Finally about time it happens.

Another big thing is the update of the README, now with some
self-reminding pitch why choose NixOS (or something similar like GuixSD)
which could be nice for other people too, provided they've come across
my NixOS config.

I made the module docstrings a bit more consistent (though still
useless, to be honest).
I've also updated config for Visual Studio Code.
2020-09-01 23:10:44 +08:00
Gabriel Arazas
508f6ae41f ADD MORE MODULES 2020-08-31 05:58:22 +08:00
Gabriel Arazas
6ef087a067 Back to stable AGAIN and update the docs 2020-08-28 15:58:17 +08:00
Gabriel Arazas
b9785fed44 Go back to using stable channels and add unstable channel as a separate channel
NixOS 20.09 is just around the corner anyways so the packages will be updated soonish.
2020-08-20 02:36:05 +08:00
Gabriel Arazas
75a04804a6 Update the config to use the stable versions of nixpkgs separated with the unstable branch 2020-08-19 00:48:02 +08:00
Gabriel Arazas
3d9f5436d8 IT'S FINALLY WORKING! 2020-08-16 16:33:44 +08:00