Commit Graph

255 Commits

Author SHA1 Message Date
4190b4a481 hosts/plover: update PostgreSQL initial script
We're doing the secure schema usage pattern as recommended from the
documentation. Since it is an initial script that will only run once, I
think it is OK to override steps such as creating roles ahead.
2022-12-12 14:17:57 +08:00
604cbbd48f hosts/plover: update SSH keypair 2022-12-12 10:26:30 +08:00
5933e76e8e hosts/plover: reformat the code 2022-12-12 10:26:30 +08:00
582393da5e hosts/plover: add application data for backup 2022-12-12 10:26:30 +08:00
aedd3f7a15 hosts/plover: fix the erroneous attribute 2022-12-12 10:26:30 +08:00
74fa10f348 hosts/plover: enable PostgreSQL dump service 2022-12-12 10:26:30 +08:00
22bc41896c hosts/plover: update Gitea configuration 2022-12-12 10:26:30 +08:00
Gabriel Arazas
d6f3f11611 hosts/graphical-installer: force wireless networking setup
Ehhh... It's going to have an error since the wireless network setup
does not have enough priority for the appropriate image format
configuration.
2022-12-10 18:48:23 +08:00
Gabriel Arazas
8adcc0d512 hosts/plover: update config
In preparation of deploying it in a non-Google Compute Engine
environment, we'll update some of the settings.
2022-12-10 18:45:36 +08:00
Gabriel Arazas
cb11ceb3a9 hosts/plover: update config 2022-12-06 15:55:23 +08:00
Gabriel Arazas
ac32593fda hosts: remove extra module for installers 2022-12-04 08:55:06 +08:00
Gabriel Arazas
e3e401f939 Revert "hosts/plover: add headless profile from nixpkgs"
This reverts commit 6300aa7275.
2022-12-03 15:46:22 +08:00
Gabriel Arazas
6300aa7275 hosts/plover: add headless profile from nixpkgs 2022-12-03 15:24:22 +08:00
Gabriel Arazas
1e17c59034 users/plover: add home-manager user to config 2022-12-03 15:24:22 +08:00
Gabriel Arazas
b5b52426dc config: restructure user and host files 2022-12-03 15:24:22 +08:00
Gabriel Arazas
9924811dc0 hosts/plover: remove GCP KMS key for secrets 2022-12-03 15:24:22 +08:00
Gabriel Arazas
06a8550c03 hosts/plover: fix secrets file 2022-12-03 15:24:22 +08:00
Gabriel Arazas
9e5d2e2307 hosts/plover: add hardened profile from nixpkgs 2022-12-03 15:24:22 +08:00
Gabriel Arazas
b8d916c8a2 hosts/plover: add DNS-related config 2022-12-03 11:48:32 +08:00
Gabriel Arazas
8f037a1606 hosts/plover: add backup service 2022-12-03 11:13:46 +08:00
Gabriel Arazas
625a8b191a hosts/plover: update config 2022-12-03 07:31:46 +08:00
Gabriel Arazas
d4c45fd86b hosts/plover: enable TCP/IP connection and fix database service 2022-12-01 08:21:58 +08:00
Gabriel Arazas
9a07eedb14 config: update comments and module descriptions 2022-11-30 08:40:49 +08:00
Gabriel Arazas
a1656caa3a hosts/graphical-installer: fix the erroneous attribute
Pretty much indicates how much I use it. :)
2022-11-30 08:36:37 +08:00
Gabriel Arazas
7e5eab2d47 profiles/editors: add Guile for Emacs submodule 2022-11-30 08:36:37 +08:00
Gabriel Arazas
e6e3dc85f6 profiles/server: init module 2022-11-30 08:36:37 +08:00
Gabriel Arazas
131fa25023 profiles/system: rename to profiles/desktop
The need for configuring desktop and server in separate profiles is
becoming more obvious. Not to mention, most of the system config from
profiles/system is obviously more desktop-oriented.
2022-11-29 21:10:51 +08:00
Gabriel Arazas
07b198c5ab docs: update 2022-11-29 15:58:33 +08:00
Gabriel Arazas
2c8f35500e hosts/graphical-installer: use latest kernel 2022-11-29 15:58:33 +08:00
Gabriel Arazas
008201c11a hosts/bootstrap: use latest kernel 2022-11-29 15:58:33 +08:00
Gabriel Arazas
794a7a65ac hosts/plover: update config
It now uses PostgreSQL for the services and also fixed some of the
misconfigurations in the services.
2022-11-29 15:58:33 +08:00
Gabriel Arazas
8e462418e3 hosts/plover: add gcp-kms key for secret 2022-11-27 00:51:05 +08:00
Gabriel Arazas
3889429ac2 hosts/plover: update config 2022-11-26 14:13:17 +08:00
Gabriel Arazas
f9751a9510 hosts/ni: update config 2022-11-25 21:27:25 +08:00
Gabriel Arazas
da5b904fd7 hosts/bootstrap: update ISO filename 2022-11-25 14:51:27 +08:00
Gabriel Arazas
549d067278 hosts/ni: update 2022-11-25 14:51:27 +08:00
Gabriel Arazas
51d51f5398 hosts/plover: init 2022-11-25 14:51:27 +08:00
Gabriel Arazas
e891fdbdbf hosts/void: add host
01000110 01101111 01110010 00100000 01001001 00100000 01100001 01101101
         00100000 01100100 01101111 01101110 01100101 00100001

01000110 01101111 01110010 00100000 01001001 00100000 01100001 01101101
         00100000 01100010 01101111 01110010 01100101 01100100 00101110
         00101110 00101110
2022-09-26 08:35:10 +08:00
Gabriel Arazas
915a93321a docs: update 2022-09-19 10:56:06 +08:00
Gabriel Arazas
4f2292bd62 hosts/graphical-installer: correct workflow attribute 2022-09-01 22:44:46 +08:00
Gabriel Arazas
c9ccb53bac flake.nix: use Nix-built Guix service module 2022-08-27 13:41:12 +08:00
Gabriel Arazas
6cb1515d91 themes: rename into workflows
More self-descriptive == better. Plus it does imply that themes only
change aesthetics which is not often the case with the usual modules
that are defined here.
2022-08-27 13:41:12 +08:00
Gabriel Arazas
12251141e7 users/foo-dogsquared: add public key and update config 2022-08-19 17:36:33 +08:00
Gabriel Arazas
62f18a083f hosts/ni: add more programs 2022-08-11 09:45:19 +08:00
Gabriel Arazas
5e605b4053 hosts/ni: update config 2022-08-10 12:14:11 +08:00
Gabriel Arazas
adff4fd67f flake.nix: update hosts default config 2022-07-28 17:29:58 +08:00
Gabriel Arazas
688bfb59c4 hosts/ni: update config and store secrets 2022-07-19 07:11:01 +08:00
Gabriel Arazas
617a02f382 hosts/ni: install wezterm 2022-07-16 17:25:47 +08:00
Gabriel Arazas
863daae3f5 hosts/ni: update host config 2022-07-14 08:21:09 +08:00
Gabriel Arazas
eebaf93938 docs: update READMEs and comments 2022-07-09 14:04:17 +08:00
Gabriel Arazas
30c7ee0203 profiles/agenix: move into default config 2022-07-09 14:01:37 +08:00
Gabriel Arazas
7ad9a62f2c profiles/users: move as a library function 2022-07-09 14:00:51 +08:00
Gabriel Arazas
212378440d hosts/bootstrap: fix configuration 2022-07-08 09:46:56 +08:00
Gabriel Arazas
342e1b11f1 hosts/ni: update config with setup 2022-07-06 07:38:21 +08:00
Gabriel Arazas
9dc7dff602 hosts/ni: update config
For now, we're removing the backup media task just to make it easier to
install for non-local setups. It is pretty much the only thing that
requires the most secrets and I want to easily showcase my NixOS setup
or something like that. Enabling the task is still in the local changes,
just not to be committed.
2022-06-12 13:49:56 +08:00
Gabriel Arazas
d586fba900 update profiles and user configs 2022-05-20 14:47:09 +08:00
Gabriel Arazas
7ec58315c1 update various files 2022-04-30 20:31:11 +08:00
Gabriel Arazas
9f6cef56f8 profiles/system: add auto-upgrade option 2022-04-17 22:33:04 +08:00
Gabriel Arazas
7ae53c1563 profiles/desktop: rename into profiles/system
It is causing some confusion since it is slowly gaining some
non-desktop-related functions too. A rename would be appropriate now.
2022-04-17 11:00:38 +08:00
Gabriel Arazas
7f44233e09 docs: update 2022-04-15 21:39:01 +08:00
Gabriel Arazas
d225257f8d hosts: init graphical-installer
This is my personalized graphical installer to make installing NixOS a
little easier with all of my comfy config. Though, this won't be seeing
a release as the resulting file is over GitHub's asset size limit of
2GB. Man...
2022-03-01 23:07:56 +08:00
Gabriel Arazas
1d7f318696 Clean up files 2022-02-11 12:31:44 +08:00
Gabriel Arazas
f9589f2ca1 Modularize nixos user
This is to make creating installers easier.
2022-02-05 18:52:19 +08:00
Gabriel Arazas
11723c53e3 Create personalized bootstrap ISO 2022-02-05 08:14:03 +08:00
Gabriel Arazas
905b5680b1 Clean up the files 2022-02-02 12:27:32 +08:00
Gabriel Arazas
4ec2730ad8 host/ni: use Guix module from guix-overlay 2022-02-02 12:27:32 +08:00
Gabriel Arazas
a6a4b2b1e1 Update various files 2022-01-25 09:32:17 +08:00
Gabriel Arazas
6b481a163a Restructure the modules
While it is easier to maintain the modules by prefixing them all with
`modules`, it is not easy when used from other flakes and/or modules.
This is my attempt on making it easier with appropriate namespaces.

Update home-manager user from the restructure
2022-01-09 19:44:09 +08:00
foo-dogsquared
12077bfc60 Update ni configuration 2021-12-26 18:43:49 +08:00
foo-dogsquared
875abade93 Add modules.desktop.wine option
I'll experiment using Wine with NixOS. Let's just see how this goes.
2021-12-25 22:31:12 +08:00
foo-dogsquared
4c0f04266e Remove editor module for NixOS
The dedicated editor module for NixOS has been removed seeing as it is
barely used. The only exception is Neovim which is moved into
`modules.dev.neovim`.
2021-12-25 20:35:55 +08:00
foo-dogsquared
6d33406492 Update themes module
Setting themes should be in `modules.themes.themes` for namespacing and
the module itself is gaining options.
2021-12-25 20:32:52 +08:00
Gabriel Arazas
9eac509b26 Update documentation 2021-12-21 14:29:27 +08:00
Gabriel Arazas
479f106f4e Update flake and users config 2021-12-19 17:39:18 +08:00
Gabriel Arazas
00e5c13cff Improve NixOS custom user module
Now, it allows for fine-grained configuration for specific users. I also
managed to fix the infinite recursion error by directly assigning the
values to the keys instead of creating a merged module value in
`config`.
2021-12-19 17:33:33 +08:00
Gabriel Arazas
adf04a9393 Update various configurations
Flake outputs, hosts, users, and formatting of Nix files. et cetera, et
cetera.
2021-12-11 13:37:27 +08:00
Gabriel Arazas
cd15eada5a Update modules and configurations 2021-12-08 12:18:37 +08:00
Gabriel Arazas
c7d2b21756 Revert restructuring 2021-12-06 18:12:00 +08:00
Gabriel Arazas
889742c402 Add library and desktop modules 2021-12-06 17:53:34 +08:00
Gabriel Arazas
3a022a374a Restructure the modules
I think this is better for separating modules explicitly. This is also
considered as there are similar objects between modules (e.g., NixOS
and home-manager modules and users).

Revert users module to old position
2021-12-06 17:03:39 +08:00
Gabriel Arazas
97ef9f3382 Update our host and user config 2021-12-02 22:02:29 +08:00
Gabriel Arazas
e2699c2cea Update home-manager modules and related configs 2021-11-29 17:56:24 +08:00
Gabriel Arazas
db5fc8269e Update user-specific config
Oh no, now I'm content with creating my own framework instead of using
something like digga or flake-utils.
2021-11-29 13:30:57 +08:00
Gabriel Arazas
516f465185 Update users NixOS module
Welp, that's one step for more convenient and separate user-specific
configuration. It's a tad simpler than
https://github.com/divnix/devos but I want to work my way towards a
similar setup. It's just a little overwhelming starting with that
framework.
2021-11-27 19:21:08 +08:00
Gabriel Arazas
a34674f672 Update config 2021-11-27 16:04:01 +08:00
Gabriel Arazas
f038f48464 Format the Nix files properly 2021-11-25 21:45:48 +08:00
Gabriel Arazas
539a798009 Rewrite as a flake
I revisited NixOS this week and I've rewritten my NixOS config from
scratch. I must say I really like Nix flakes. For whatever reason it
just clicked and I understood more programming with Nix despite my
previous experience which is not good. Could be just the fact I had a
break for a long time from completely using Nix (I still used it on
non-NixOS distros).

Eh... I still took some things from the original inspiration of this
configuration so there's that.
2021-11-25 19:55:30 +08:00
Gabriel Arazas
44f692976e Update the modules 2020-12-29 22:32:59 +08:00
Gabriel Arazas
f0855976af Update the Nix modules and config 2020-11-10 16:20:03 +08:00
Gabriel Arazas
aa2d8ac987 More tweaks, more fun! 2020-11-05 14:39:02 +08:00
Gabriel Arazas
4114c91901 Move drivers in a more appropriate folder 2020-11-02 22:44:48 +08:00
Gabriel Arazas
80cb28be86 Update the modules
* Python module now has an additional option for the package to be
installed for easier installation of other versions.
* The Python module also has a restriction of installing version 3 and
above.
* The JavaScript module has been moved into a more general module for
web-based tools (including PHP).
2020-10-27 16:33:47 +08:00
Gabriel Arazas
c74dd2ff17 Use nixfmt to all files 2020-10-25 23:49:14 +08:00
Gabriel Arazas
0337611eb1 Update the config 2020-10-20 23:59:30 +08:00
Gabriel Arazas
ef12c29f36 Update the Nix config
A bunch of minor updates here, a bunch of minor changes there.
All of the Nix changes is here for all the world to see.
2020-10-07 06:56:04 +08:00
Gabriel Arazas
4aa4f638e1 Add a module for data-related tools 2020-09-07 18:36:02 +08:00
Gabriel Arazas
d01e597918 Restructured the project setup
I've also added a little module for version control systems now that I'm finding myself often packaging software.
2020-09-06 04:50:16 +08:00
Gabriel Arazas
4085fce69c Make the setup hardware-independent
One of the bigger changes is to make the setup hardware-independent
which is nice for easier (re-)installations.
Finally about time it happens.

Another big thing is the update of the README, now with some
self-reminding pitch why choose NixOS (or something similar like GuixSD)
which could be nice for other people too, provided they've come across
my NixOS config.

I made the module docstrings a bit more consistent (though still
useless, to be honest).
I've also updated config for Visual Studio Code.
2020-09-01 23:10:44 +08:00
Gabriel Arazas
508f6ae41f ADD MORE MODULES 2020-08-31 05:58:22 +08:00
Gabriel Arazas
31b1a6b63b Update config and add a Nix module for CADs 2020-08-30 23:27:12 +08:00
Gabriel Arazas
6ef087a067 Back to stable AGAIN and update the docs 2020-08-28 15:58:17 +08:00
Gabriel Arazas
5eaf0ac0ed Back again to unstable channels because why not 2020-08-24 23:56:31 +08:00
Gabriel Arazas
b9785fed44 Go back to using stable channels and add unstable channel as a separate channel
NixOS 20.09 is just around the corner anyways so the packages will be updated soonish.
2020-08-20 02:36:05 +08:00
Gabriel Arazas
75a04804a6 Update the config to use the stable versions of nixpkgs separated with the unstable branch 2020-08-19 00:48:02 +08:00
Gabriel Arazas
3d9f5436d8 IT'S FINALLY WORKING! 2020-08-16 16:33:44 +08:00