f60d28ba2a
config: fix images export
2023-08-04 10:25:05 +08:00
e9ff0dc7fa
config: refactor image and user listing
2023-08-04 10:03:38 +08:00
21e157d328
config: revise file retrieval for NixOS and home-manager configs
2023-08-03 22:58:55 +08:00
b30eb78170
flake.nix: update nixpkgs for packages
output
...
The custom Firefox addons is not exported anyways so we don't need to
import with the overlays.
2023-08-03 18:11:34 +08:00
cae874e52f
templates/local-ruby-nix: init
2023-08-03 15:44:11 +08:00
6d58d6a14e
config: update default home-manager config
2023-08-02 15:20:26 +08:00
2622101910
config: share Nix settings for NixOS and home-manager
2023-08-02 14:51:10 +08:00
d4fac02340
config: update declarative users procedure
2023-08-02 10:12:29 +08:00
6bde240991
config: update internal check variable
...
I forgot to update it. Whoops...
2023-08-02 10:11:37 +08:00
b97cc4415a
flake.nix: update list of caches for flake config
2023-07-30 14:17:04 +08:00
1978c18760
config: add platforms to system lists
2023-07-30 14:16:40 +08:00
f282aa2066
config: make platforms as a list for users and images
...
The `images` output attribute is now similar to packages as an attribute
set of packages with their platforms as the first level.
2023-07-30 07:11:53 +08:00
b06a0dcce6
config: update home-manager configs for non-NixOS systems
2023-07-29 10:47:34 +08:00
152b7248c5
config: add sops-nix home-manager module
2023-07-24 17:45:51 +08:00
305c54996f
lib/images: change mkUser
to mkHome
2023-07-24 15:22:19 +08:00
4edd63f411
flake.nix: remove rust-overlay flake
...
It is better suited for individual projects and the devshell uses the
versions from nixpkgs anyways.
2023-07-24 13:09:30 +08:00
76c9589de8
config: use Nix unstable as the default Nix package
2023-07-23 10:32:17 +08:00
28faf41a1c
chore: reformat codebase
2023-07-19 17:27:33 +08:00
3c60989da4
config: add foodogsquared's binary cache
...
YAY! It's usable again. :D
2023-07-19 15:35:55 +08:00
f98ccd1745
flake.nix: remove nix-ld flake
...
Also using the module from nixpkgs.
2023-07-16 18:13:13 +08:00
84fb02fb28
firefox-addons: remove package
...
Only remove the package from the user package set and only available as
an overlay. For now, it is done to make building my custom packages
easier in the CI pipeline.
2023-07-14 22:13:09 +08:00
9d7584bc82
config: fix nixpkgs import for mkImage
...
This should fix for image configurations that also make use of the
imported overlays.
2023-07-14 19:58:15 +08:00
92a2f81a2b
lib/private: replace nixpkgs-channel
to pkgs
...
The nixpkgs import should be easier to control from the flake
definition.
2023-07-14 13:19:09 +08:00
06704f5ab6
flake: separate images to images
attribute
...
This also allows for downstream users to import my flake now (if there's
any).
2023-07-14 13:17:05 +08:00
d524444ae0
modules: manually import the modules
...
This allows for an easier separation of the private modules compared to
the old `importModules` function. It is also easier to use.
2023-07-14 13:14:14 +08:00
a43c5024a8
docs/site: initialize the project site
2023-07-08 19:41:30 +08:00
ea68dbbf54
firefox-addons: init list of addons
...
This is generated from mozilla-addons-to-nix from rycee. It is also how
they build their own list of Firefox addons in the NUR repo.
2023-07-06 11:05:15 +08:00
c3bec31b86
chore: reformat codebase
2023-07-05 16:42:15 +08:00
654f531b8d
config: remove ssh service alias
2023-07-05 16:40:33 +08:00
ef0d3d92cd
config: fix deploy function with correct system
...
Also added some more configuration options for home-manager deploy
options.
2023-07-01 12:30:36 +08:00
6c7939e7da
config: include disko as part of the flake
...
This could be used for bootstrapping with nixos-anywhere tool
apparently.
2023-06-30 12:55:40 +08:00
e95927c83b
config: filter NixOS configuration
...
With images that are only exported as ISO (or even without one) are
included as part of NixOS configurations.
The idea with this attribute seems to be closer for deploying and
installing them with `nixos-install` which most of them aren't. This
might be reverted at some point. It's not clear to me yet.
2023-06-29 13:51:21 +08:00
a91a9fe110
config: improve home-manager user creation
...
Now with configurable home-manager channel! Also, I've improved some
usage of the metadata to be used from `users.toml`.
2023-06-29 13:50:26 +08:00
3ad1c9022b
config: update naming for NixOS host images
2023-06-29 09:49:18 +08:00
87e01e119c
config: create declarative home-manager user management
2023-06-23 15:43:26 +08:00
4e428bf8e4
config: update the image output extra modules
2023-06-23 11:47:06 +08:00
9ee20751e7
config: remove NixOS module from nixos-generators
...
It is only meant for generation and not for deployment. Learnt that the
hard way.
2023-06-23 00:28:48 +08:00
9f2452ec6e
config: add deploy
subtable for declarative images
...
It accepts keys used as arguments for deployment settings with
deploy-rs. This should make deployment a little bit easier for me
instead of manually creating a deploy entry every time.
2023-06-23 00:26:04 +08:00
241e2080f2
config: make configurable nixpkgs channel for images
...
Now we can finally easily declare the nixpkgs channel for individual
images. This is nice once I've expanded the images for other purposes
such as physical hosts (for homelabbing).
Unfortunately, this is where I realized that stable channels are not
exactly "Debian-stable" and the best way to handle security is to have
an update cadence that is relatively quick.
2023-06-22 11:01:41 +08:00
f033756d6f
config: modularize image creation functions
...
Additionally, I have also made a declarative version of the project
cluster with a neat little file at `images.toml`. This is way better for
individually referring to hosts from the host directory compared to the
old way.
2023-06-20 19:57:00 +08:00
23e00d0472
config: remove foo-dogsquared's binary cache
...
It is pretty outdated and the CI didn't able to build the packages for
some time now (that I'm lazy to fix). Not to mention, some of them are
being upstreamed to nixpkgs so the need to use this is low. Also, it
causes the build to have some errors.
2023-06-19 12:26:25 +08:00
159ac36a11
config: add NUR home-manager module for user config
2023-06-08 12:14:52 +08:00
e48fc588ef
flake.nix: update overlay attributes for flake inputs
2023-06-08 12:14:28 +08:00
717d15a9fc
flake.nix: update nixpkgs-stable to 23.05 branch
2023-06-06 13:52:39 +08:00
2a7665670c
flake.nix: make inputs follow own nixpkgs temporarily
2023-05-31 15:57:00 +08:00
e5f66b3076
config: add 'repl-flake' to experimental features
2023-05-31 15:57:00 +08:00
1b013b2246
flake.nix: update flake inputs
2023-05-27 13:53:52 +08:00
d9d63dd90a
templates/sample-nixos-template: init
2023-05-25 11:15:28 +08:00
d70ee020f7
flake.nix: update home-manager inputs
2023-04-22 14:10:41 +08:00
a8a7f60a7c
config: remove Helix Cachix Nix cache
2023-04-22 14:10:30 +08:00