Commit graph

431 commits

Author SHA1 Message Date
Nicolas Jeannerod 243ff8f070
Bump nixpkgs to 24.11 2024-11-26 13:00:00 +01:00
Nicolas Jeannerod b04b3c457f
Fix typo 2024-11-22 17:37:15 +01:00
Nicolas Jeannerod da25f9221a
Cleanup and consolidate remaining configurations (#23) 2024-11-21 12:14:22 +01:00
Nicolas Jeannerod 5bc7f954bd
Consolidate config for vm02187 2024-11-21 12:13:34 +01:00
Nicolas Jeannerod e4c891b284
Consolidate config for vm02186 2024-11-21 12:13:34 +01:00
Nicolas Jeannerod 104827746a
Consolidate config for vm02179 2024-11-21 12:13:34 +01:00
Nicolas Jeannerod 2beb64af83
Consolidate config for vm02116 2024-11-21 12:13:31 +01:00
Nicolas Jeannerod d2638845d0
Factorise other configuration options (#22) 2024-11-21 12:08:00 +01:00
Nicolas Jeannerod fca563a987
nix.settings.trusted-users 2024-11-21 12:06:35 +01:00
Nicolas Jeannerod 9f471327df
environment.systemPackages 2024-11-21 12:04:59 +01:00
Nicolas Jeannerod 0749bda96c
networking.useDHCP 2024-11-21 12:04:02 +01:00
Nicolas Jeannerod 9888ae0d07
nixpkgs.hostPlatform 2024-11-21 12:04:02 +01:00
Nicolas Jeannerod dbba09de45
system.stateVersion 2024-11-21 12:04:00 +01:00
Nicolas Jeannerod 17611b7e53
Timezone and locale 2024-11-21 12:03:12 +01:00
Nicolas Jeannerod dd56774f34
Factorise hardware configurations (#21) 2024-11-21 11:57:53 +01:00
Nicolas Jeannerod 8a075bb837
Keep vm02116's specificities documented 2024-11-21 11:57:26 +01:00
Nicolas Jeannerod 7c8b26c07c
Factorise hardware config of vm02187 into infra/common 2024-11-21 11:55:02 +01:00
Nicolas Jeannerod 40ae3db164
Factorise hardware config of vm02186 into infra/common 2024-11-21 11:55:02 +01:00
Nicolas Jeannerod 6d0c8caf57
Factorise hardware config of vm02179 into infra/common 2024-11-21 11:55:01 +01:00
Nicolas Jeannerod ba8c1d9d9c
Move hardware config of vm02116 to infra/common 2024-11-21 11:55:01 +01:00
Nicolas Jeannerod 1e8174799b
Factorise users configurations (#20) 2024-11-21 11:45:19 +01:00
Nicolas Jeannerod 67eddccc40
Apply @kevin's recommendations
- Remove `root`'s password; SSH password authentication is already
  removed for all users.
- Enable password-less sudo for `wheel` group.
- Add a note about removing `root` SSH connection altogether.
- Add `niols` user with sudo capabilities.
2024-11-21 11:44:53 +01:00
Nicolas Jeannerod 4bef70a2ab
Factorise users config of vm02187 into infra/common 2024-11-21 11:44:53 +01:00
Nicolas Jeannerod 6efe45a88b
Factorise users config of vm02186 into infra/common 2024-11-21 11:44:53 +01:00
Nicolas Jeannerod 09764eeab9
Factorise users config of vm02179 into infra/common 2024-11-21 11:44:53 +01:00
Nicolas Jeannerod 6e7e0e5ef7
Move users config of vm02116 to infra/common 2024-11-21 11:44:53 +01:00
Nicolas Jeannerod 9c7b370447
Factorise networking configurations (#19) 2024-11-21 11:33:24 +01:00
Nicolas Jeannerod 60ec9aab2a
Follow @kevin's recommendations 2024-11-21 11:32:48 +01:00
Nicolas Jeannerod 18559dab54
Move nftables ruleset to separate file 2024-11-20 15:58:07 +01:00
Nicolas Jeannerod f56c00eb59
Factorise networking config of vm02187 into infra/common 2024-11-20 15:58:06 +01:00
Nicolas Jeannerod fe6d68446b
Factorise networking config of vm02186 into infra/common 2024-11-20 15:56:33 +01:00
Nicolas Jeannerod c8d9b1c669
Factorise networking config of vm02179 into infra/common 2024-11-20 15:56:15 +01:00
Nicolas Jeannerod 3bc484754f
Move networking config of vm02116 to infra/common 2024-11-20 15:55:49 +01:00
Nicolas Jeannerod da127445bc
Clean-up VMs configurations 2024-11-20 14:45:20 +01:00
Nicolas Jeannerod 8ad1457763
Enable trimming of trailing whitespace as a pre-commit hook 2024-11-20 13:07:03 +01:00
Nicolas Jeannerod fe0c69f6d9
Add changes that hadn't been pushed to the repo as well 2024-11-20 12:41:13 +01:00
Nicolas Jeannerod aad7a984c2
Integrate vm02116 (Forgejo) and vm02187 (Wiki) to the infra/ directory and deployments (#11) 2024-11-20 10:15:28 +01:00
Nicolas Jeannerod 62eea1bf8a
Add Wiki machine to web deployment 2024-11-20 10:13:40 +01:00
Nicolas Jeannerod 2ffab40687
Add Forgejo machine to git deployment
This deployment is the old `actions-runners` deployment, renamed.
2024-11-20 10:13:40 +01:00
Nicolas Jeannerod 47bca471da
Add wiki machine to the infra/ directory 2024-11-20 10:13:40 +01:00
Nicolas Jeannerod c2f820b85d
Add Forgejo machine to the infra/ directory 2024-11-20 10:13:40 +01:00
Valentin Gagarin 771708c557 drive-by refactoring 2024-11-20 09:01:33 +01:00
Nicolas Jeannerod f1c0d29df9
Add niols to the users of the website 2024-11-18 15:18:38 +01:00
Nicolas Jeannerod 18b03924ad Format and clean dead code in infra/ (#12)
Reviewed-on: Fediversity/Fediversity#12
Co-authored-by: Nicolas “Niols” Jeannerod <nicolas.jeannerod@moduscreate.com>
Co-committed-by: Nicolas “Niols” Jeannerod <nicolas.jeannerod@moduscreate.com>
2024-11-18 12:09:30 +01:00
Nicolas Jeannerod d8320bc287 Control the actions runners' configuration via NixOps4 (#8)
Reviewed-on: Fediversity/Fediversity#8
2024-11-18 11:39:24 +01:00
Nicolas Jeannerod e300ff517d
Small description of the infra/ subdirectory 2024-11-18 11:28:02 +01:00
Nicolas Jeannerod ae90b3e362
Add Valentin's SSH keys 2024-11-18 10:56:38 +01:00
Nicolas Jeannerod f9f096cff8
Ooops 2024-11-18 10:56:38 +01:00
Nicolas Jeannerod 69cad1592e
Rename “default” NixOps4 deployment 2024-11-18 10:56:38 +01:00
Nicolas Jeannerod 40ec7e9c8c
Make a NixOps4 deployment for action runners 2024-11-18 10:56:38 +01:00