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
08c75b52bf
config: remove Guix overlay flake input
...
Much of what is needed is now available in nixpkgs.
2023-12-08 12:36:25 +08:00
e45fad294e
config: fix shared config for nixosConfigurations and images
2023-12-08 12:35:46 +08:00
48d2b0f3dd
config: add option for declaring differing home-manager channel in NixOS configs
2023-12-04 18:54:18 +08:00
cc839ad4af
config: enable multiple versions of home-manager
...
This is in preparation for the deployment enabling NixOS machines to
deploy separate home-manager versions and home-manager configurations
themselves having differing versions for each home-manager user.
2023-12-04 18:51:41 +08:00
1095571983
config: update nixos-stable to nixos-23.11 branch
2023-12-04 18:40:30 +08:00
c25c8ac8b8
config: add nixpkgs-unstable branch
2023-12-04 18:29:37 +08:00
8e122373d7
hosts/ni: revert Guix service config
2023-11-24 11:39:05 +08:00