Commit Graph

243 Commits

Author SHA1 Message Date
3907d83781
treewide: update comments and module descriptions 2024-06-10 13:26:14 +08:00
ef2927ee32
flake: add branches for NixVim flake inputs 2024-06-10 13:24:11 +08:00
f8c792dd5b
flake: update stable branches of nixpkgs and home-manager 2024-06-10 13:23:02 +08:00
0cd8fa46c6
flake: remove nix-colors dependency
There are some things missing such as the capability to hold some data
for generating multiple theme configs for programs. I could implement
that with a quick custom module instead.
2024-02-09 17:47:14 +08:00
3a781eff32
flake.nix: reduce nixpkgs instances 2024-01-25 19:08:34 +08:00
805cb0208a
flake.nix: add NixVim flake input
Welp, let's see how this goes.
2024-01-25 19:07:54 +08:00
79664a206a
flake.nix: remove devshell flake input
The devshells infrastructure from nixpkgs is enough for now.
2024-01-22 11:18:38 +08:00
0f101a323b
flake.nix: add custom lockfile summary 2024-01-16 20:08:29 +08:00
b06a06888f
flake.nix: add images flake output 2024-01-16 07:21:31 +08:00
e4ad727c56
flake.nix: configure output with flake-parts
I've seen how Nixvim project is managed and flake-parts is pretty good from
a glance and indeed it is.
2024-01-15 22:06:12 +08:00
ec1e36ced6
lib/extras: rename flake helpers file 2024-01-15 14:55:31 +08:00
0760acb676
configs: consolidate NixOS and home-manager config into one configs folder
Now we're going beyond these structuring as we might have to accomodate
non-system configurations like Nixvim.
2024-01-15 07:45:43 +08:00
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
fa65ce548a
config: move home-manager-specific config to hostSpecificModule 2024-01-07 18:23:55 +08:00
d7ef172ba0
config: set stable Nix as default Nix package
I should've set this in the first place.
2024-01-07 10:33:17 +08:00
1957df91ea
chore: reformat codebase 2024-01-06 19:10:54 +08:00
2d7e8147e1
flake.nix: add run-workflow-with-vm app 2024-01-05 20:20:37 +08:00
55a3ea8390
config: remove custom check variable
It is now less useful now that we have host- and user-specific module
structuring.
2024-01-04 12:00:28 +08:00
9bb03e86b8
chore: reformat codebase 2024-01-01 13:56:10 +08:00
193a4796ed
config: improve parts of the codebase 2023-12-26 10:20:32 +08:00
6d9f3007c8
config: update default host config 2023-12-25 20:03:22 +08:00
a29b1ee5e0
flake.nix: filter NixOS config as images and deployments
Though there are systems that can be used for both. For now, we'll use
the deploy key as a surefire attribute that it is used for deployment
while having an intended output image format. The best solution is
simply have a conditional config for certain output formats.
2023-12-25 19:54:54 +08:00
a31605ebd0
config: update devshell nixpkgs instance 2023-12-24 18:35:30 +08:00
c1d8be29b0
config: update image generation step
It doesn't allow setting up system modularly so we'll have to do this
on our own which is easy enough since it's already done once.
2023-12-24 18:11:57 +08:00
d55865beb0
flake.nix: rename lib' to lib
I don't know why did I do that but whatever.
2023-12-24 18:10:19 +08:00
14af688215
flake.nix: create Firefox addons overlay 2023-12-23 20:31:23 +08:00
32d20ed2a3
config: cut down default host config 2023-12-23 20:30:14 +08:00
7a3b5404ec
setups: allow home-manager and NixOS to set individual modules 2023-12-23 20:28:54 +08:00
e234807139
setups: migrate TOML format to Nix
This allows us to do much more.
2023-12-23 20:26:40 +08:00
2fadd19486
flake.nix: remove riscv64-linux
We'll test it another time.
2023-12-23 18:36:22 +08:00
02d7b34bdd
config: set NIX_PATH when channels are enabled 2023-12-23 18:35:53 +08:00
a5ababe88d
lib: restructure folder structure
To easily support channels and flake.
2023-12-23 11:03:17 +08:00
6e3c6f8509
config: disable Nix channel tools by default 2023-12-20 10:41:39 +08:00
5f70747853
config: set home-manager system for pure evaluation
I guess we'll have to deal with the naming thing sooner or later.
2023-12-19 17:55:46 +08:00
cdc26a9f37
config: improve default host and user config 2023-12-19 13:08:55 +08:00
35f2d5b9b8
config: add comments 2023-12-18 18:44:27 +08:00
90a54db08b
config: update arguments for importing nixpkgs
Most of the things should be configured in their respective
environments already.
2023-12-17 11:57:14 +08:00
9cd586231e
config: set proper module default for nix.package 2023-12-16 19:00:09 +08:00
c9bee4b97a
config: set only default for nixosModules and homeModules flake output 2023-12-16 20:02:53 +08:00
d1602b438c
config: use buildFirefoxXpiAddon from NUR
I didn't realize it is available.
2023-12-15 20:41:27 +08:00
10c3509121
config: set system on default host config 2023-12-16 20:02:22 +08:00
3714f843d0
chore: reformat codebase 2023-12-13 11:28:45 +08:00
97f012d0e3
config: update default home-manager config 2023-12-13 11:25:14 +08:00
4fb82448a9
config: re-apply nixpkgs-channel metadata correctly 2023-12-13 11:25:01 +08:00
b04a284489
config: replace specialArgs with _modules.args in NixOS config 2023-12-13 10:00:43 +08:00
231200546d
config: initialize XDG basedirs for default host config
Not much parts of the system set this so we'll do it ourselves.
2023-12-13 09:59:37 +08:00
9762042848
hosts/plover: try out host-specific module structure 2023-12-11 16:30:00 +08:00
53d2e10607
config: update default home-manager config 2023-12-10 20:22:51 +08:00
198ded079b
config: make mkHome more universal
I don't know how to deploy the home-manager configurations with more
than one systems reliably without ruining the experience of having to
pass an autogenerated name for the correct configuration. The way it's
currently done provides no benefit for multi-system users.

It's not perfect but for now, we'll set the system through importing
nixpkgs which has auto-detection for its system. Though, this makes the
user system declaration ineffective.
2023-12-10 18:34:20 +08:00