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
732acd886c
config: update attributes
2023-04-22 14:10:03 +08:00
862ad97c87
flake.nix: update neovim-nightly-overlay nixpkgs to own nixpkgs
2023-04-22 14:09:29 +08:00
6496fa363d
users/foo-dogsquared: replace dotfile flake input with modules/mutable-files
2023-03-13 23:46:24 +08:00
c1bb25833c
flake.nix: update homeManagerModules
to homeModules
...
Just to make the flake consistent. Plus it seem to be the attribute name
for some of the configurations out there anyways.
2023-03-03 17:19:52 +08:00
fac3cd408f
flake.nix: update home-manager output attribute to homeConfigurations
...
Now, it is supported by standalone `home-manager` tool.
2023-02-20 19:02:37 +08:00
86afc41f28
flake.nix: add comments
2023-02-05 16:27:14 +08:00
25709b4208
config: remove nix-alien flake input
...
The latest update failed and that reminded me I mostly use steam-run now
which is more reliable and becoming my go-to tool for running unpatched
binaries in NixOS.
2023-01-29 10:11:14 +08:00
d6d461a098
flake.nix: update override value on intended hostname
...
It pretty much causes every host to have the name the default hostname
which I forgot the default value has a stronger override value.
2023-01-18 17:47:45 +08:00
92c69f9161
flake.nix: update flake inputs
...
- Added stable branch for nixpkgs. This is for the preparation of
facilitating creating hosts that is more maintainable with stable
branches (like servers, for example).
- Update nixpkgs URL for Neovim overlay. The workaround is based from
the following link at
https://github.com/nix-community/neovim-nightly-overlay/issues/164#issuecomment-1377562202
2023-01-17 21:34:54 +08:00
4c34a87366
chore: reformat codebase
2023-01-07 16:06:34 +08:00
9541ebeaf9
hosts/plover: remove image format
2023-01-04 19:54:49 +08:00
789bb9b7db
config: remove insecure packages
...
The insecure packages are not required anywhere at this point and I
don't want to make it stale.
2022-12-31 19:15:40 +08:00
Gabriel Arazas
e8a1dc2fd9
config: update more comments
2022-12-10 18:47:41 +08:00
Gabriel Arazas
ee17bccd5b
config: properly configure automatically imported nodes
2022-12-06 15:55:23 +08:00
Gabriel Arazas
f90379aa4d
config: reduce Hydra jobs to only build packages
...
All of the hosts with image format are basically packaged anyways and it
also adds unnecessary time to output checks.
2022-12-06 15:55:23 +08:00
Gabriel Arazas
72bc80c70b
config: add qtwebkit to insecure package permit list
2022-12-01 08:48:13 +08:00
Gabriel Arazas
acfc617e10
config: fix and improve upon importNodes
2022-12-01 08:21:04 +08:00
Gabriel Arazas
9a0079a7fc
config: fix image format module condition
2022-12-01 08:20:18 +08:00
Gabriel Arazas
9a07eedb14
config: update comments and module descriptions
2022-11-30 08:40:49 +08:00
Gabriel Arazas
d8b28ce617
config: add home-manager configurations deploy nodes
2022-11-30 08:37:37 +08:00
Gabriel Arazas
fa2509b578
config: refactor with host image format set
2022-11-30 08:36:37 +08:00
Gabriel Arazas
997a0ee9aa
config: update list of overlays
2022-11-30 08:36:37 +08:00
Gabriel Arazas
38d8542875
config: update image formats for more hosts
2022-11-29 15:58:33 +08:00
Gabriel Arazas
cee69d59a0
config: consider default host config for system images
...
There are some parts of the config when imported with image modules
where it will set them with often default overrides. It is best to let
them override with our host config especially with the more important
options such as anything networking-related.
2022-11-25 21:28:11 +08:00
Gabriel Arazas
181de0406b
config: update comments
2022-11-25 14:51:27 +08:00
Gabriel Arazas
afb86dd59a
config: add some hosts image to packages
2022-11-25 14:51:27 +08:00
Gabriel Arazas
9bd62dba58
config: add hydraJobs
to the outputs
2022-11-21 20:33:58 +08:00
Gabriel Arazas
3a7816a901
chore: reformat codebase
2022-11-19 11:32:29 +08:00
Gabriel Arazas
5ea8fcb0cf
config: add treefmt as formatter tool
2022-11-19 11:32:29 +08:00