Commit Graph

178 Commits

Author SHA1 Message Date
a8def0527e
config: append default timeservers
They're becoming slow lately so we'll have to replace it.
2023-10-28 11:53:40 +08:00
009a59e10b
config: set default value for system state version 2023-10-19 00:16:21 +08:00
1a9960a0f3
flake.nix: move the imported modules into the shared config
This makes it easier to think about the default shared configurations.
2023-10-16 23:01:38 +08:00
9d9d5e240f
config: disable user-dirs generation for homeConfigurations 2023-10-02 18:15:50 +08:00
8e91973c70
config: add comments 2023-09-28 18:33:00 +08:00
b5928cbb2e
overlays/ffmpeg-foodogsquared: init 2023-09-25 18:14:56 +08:00
578bb94828
flake.nix: remove unnecessary with statements 2023-09-17 13:53:19 +08:00
6a1178f969
config: add comments 2023-09-11 10:14:39 +08:00
9dcda51904
chore: reformat codebase 2023-09-08 10:00:33 +08:00
52d85eb573
config: update Nix settings 2023-09-08 10:00:33 +08:00
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