Commit Graph

60 Commits

Author SHA1 Message Date
dcdab7d019
flake-parts/setups: fix NixOS image creation function
Forgot to update this... whoops...
2024-07-19 13:48:56 +08:00
d6d779cecb
flake-parts/setups: set to individual nixpkgs instance
This will make it easier between flakes and non-flakes usage (if there's
ever a situation that will make it).
2024-07-16 18:17:55 +08:00
e8e2d67810
flake-parts/setups: add option for shared nixpkgs config
NixOS doesn't allow configuring nixpkgs modularly for externally defined
nixpkgs instances so we'll have to create the option ourselves. This is
also defined for other module environments just in case.
2024-07-16 13:47:41 +08:00
c14a51aa9d
flake-parts/setups: properly initialize nixpkgs to be passed into module evaluation 2024-07-12 13:05:32 +08:00
8eb337cefc
flake-parts/setups: correct documentation 2024-07-12 13:03:11 +08:00
6c2974e2c8
flake-parts/setups: add specialArgs to each builder function
It's only there in its raw function but we probably don't want to expose
this especially that it will make integration for each to be a pain to
implement. For now, it will just sit and exist and being reconsidered
and reverted at some point if it isn't.
2024-07-10 15:49:29 +08:00
bae6230728
flake-parts/setups: update shared Nix config for setting up NIX_PATH
...again.
2024-07-10 15:46:00 +08:00
d13428b28b
flake-parts/setups: update shared Nix configuration 2024-06-21 20:57:01 +08:00
1fedade427
flake-parts/setups/home-manager: update deploy-rs default profile 2024-06-19 08:25:12 +08:00
b325840b4a
flake-parts/setups: update shared options as a proper alias 2024-06-13 13:10:45 +08:00
e393dbb791
flake-parts/setups/nixos: refactor 2024-06-12 12:56:58 +08:00
67e85d1639
flake-parts/setup: make a shared nixpkgs options submodule 2024-06-12 12:52:36 +08:00
2dd2175250
flake-parts/setups/nixvim: merge into a unified list of components
At least, it made the module code and configuration easier with
`nixpkgs.lib.cartesianProductOfSets`.
2024-06-11 16:39:16 +08:00
3907d83781
treewide: update comments and module descriptions 2024-06-10 13:26:14 +08:00
4590be0d3d
flake-parts/setups/nixvim: add branch option 2024-06-10 13:25:03 +08:00
8f520fa2ad
flake-parts/setups: add a branch option for NixVim instance submodule 2024-06-10 12:15:46 +08:00
749e85ca49
flake-parts/setups: modularize home-manager submodule
It could be handy once we have other wider-scoped environments such as
nix-darwin or systems-manager (as long as it can have a home-manager
user inside of it).
2024-06-07 20:15:11 +08:00
cd30aba3e1
config: update comments 2024-05-26 16:38:22 +08:00
32c807e064
flake-parts/setups: correct module type for custom modules attr 2024-05-18 16:41:16 +08:00
ec3fdab52c
flake-parts/setups: update shared Nix config
At least we've set the right sources for the system's nixpkgs and
home-manager branches.
2024-03-06 17:01:21 +08:00
c5aa3ffa68
flake-parts/setups/nixos: fix code 2024-03-06 16:25:45 +08:00
f016e180b5
flake-parts/setups/nixos: prioritize the specified nixpkgs and home-manager branches in nix-path 2024-03-05 20:45:24 +08:00
c17eb9b29e
flake-parts/setups/nixos: improve code 2024-03-05 20:38:33 +08:00
1fb4a0e3e4
flake-parts/setups/nixvim: import private modules
Forgot about this.
2024-03-04 07:44:10 +08:00
bf52b6b5be
flake-parts/setups/nixos: add foodogsquaredUtils to module args
An ugly solution but can't get around much for generating Nix modules with
the modularly set `foodogsquaredLib` so we'll have to make it evaluated before
the NixOS config evaluation.
2024-03-02 18:20:51 +08:00
22e3a09243
flake-parts/setups/nixos: add shouldbePartOfNixOSConfigurations
This allows explicitly including a NixOS config even with the unfulfilled
conditions. With deploy-rs nodes, they're pretty specific so we'll opt for
this solution.
2024-02-28 18:47:43 +08:00
cf64ff7490
flake-parts/setups/nixos: fix erroneous code 2024-02-28 18:46:09 +08:00
acba42bd99
flake-parts/setups/nixos: add Disko configs for each NixOS system 2024-02-27 21:16:26 +08:00
b95aa94cae
flake-parts/setups/nixos: add custom nixos-generators format 2024-02-27 21:10:17 +08:00
3367ca59a6
flake-parts/setups/disko: init
Even though this is pretty useless in practice but whatever.
2024-02-27 20:58:22 +08:00
5af7ac1c3d
modules: add extra arguments private module
Even easier way to set things up now.
2024-02-25 20:04:29 +08:00
f5c9f0f876
flake-parts/setups: add configName option 2024-02-14 21:14:06 +08:00
a4177f9382
flake-parts/setups: set separate namespace for custom library
This at least allows us to make custom environment-specific library sets.
2024-02-11 15:16:25 +08:00
c3d39ae71b
flake-parts/setups: change priority for enabling NixVim instance 2024-02-07 08:02:04 +08:00
4d44190cc4
flake-parts/setups/nixos: fix NixVim module importing 2024-02-04 22:24:06 +08:00
e796aae01f
flake-parts/setups: fix NixVim importing for home-manager and NixOS setups 2024-02-03 21:29:36 +08:00
44090d6257
chore: reformat codebase 2024-02-02 12:40:16 +08:00
3bdaa63231
flake-parts/setups: include private modules as part of default shared modules 2024-01-30 13:32:25 +08:00
1c08463334
flake-parts/setups: refactor Nixvim instance option module 2024-01-28 11:45:09 +08:00
ee285c2004
flake-parts/setups/nixvim: add neovimPackages option 2024-01-28 11:44:39 +08:00
ed1264c062
flake-parts/setups: refactor and add NixVim instance for home-manager configs 2024-01-26 21:12:22 +08:00
c672bf387b
flake-parts/setups/nixos: add optional NixVim config import 2024-01-26 18:01:12 +08:00
7b77035949
flake-parts/setups/nixos: refactor 2024-01-26 17:39:12 +08:00
c6bc18035a
flake-parts/setups: import the default modules 2024-01-26 09:38:31 +08:00
356bbdc14e
flake-parts/setups/nixvim: init 2024-01-25 22:49:57 +08:00
a55f326d42
chore: reformat codebase 2024-01-20 18:11:30 +08:00
23d466dea6
flake-parts/setups/nixos: clean up the code
Make it snazzy, more readable, and stuff.
2024-01-20 12:05:30 +08:00
22aeb0c396
flake-parts/setups/nixos: init option to add home-manager users from declarative users setup 2024-01-18 16:54:16 +08:00
521424e7f1
flake-parts/setups: fix module config scoping
It's getting confusing.
2024-01-17 21:46:18 +08:00
cce282dbcf
flake-parts/setups: update descriptions 2024-01-17 17:59:09 +08:00