Commit graph

410 commits

Author SHA1 Message Date
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
Nicolas Jeannerod 8a53b5242b
Add files related to vm02179 2024-11-18 10:56:38 +01:00
Nicolas Jeannerod accb4d4c81
Move files related to vm02186 to own directory 2024-11-18 10:56:38 +01:00
Kevin Muller fc29873949 Merge pull request 'added the nixos configs of the forgje and wiki servers' (#10) from forgejo_and_wiki_configs into main
Reviewed-on: Fediversity/Fediversity#10
2024-11-18 10:53:14 +01:00
Kevin Muller 2c5046ab0e added the nixos configs of the forgje and wiki servers 2024-11-18 10:48:16 +01:00
Valentin Gagarin be057fb93b use email address that's being monitored 2024-11-18 09:40:41 +01:00
Nicolas Jeannerod bd478eb32b Improve automated provisioning/removal of Proxmox VMs (#6)
Reviewed-on: Fediversity/Fediversity#6
Reviewed-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2024-11-17 00:09:21 +01:00
Nicolas Jeannerod 3765a7e049
Mention the scripts in the README 2024-11-17 00:07:21 +01:00
Nicolas Jeannerod 94e5356886
Parallelise removal script 2024-11-17 00:07:20 +01:00
Nicolas Jeannerod 74bf29bb75
Parallelise provisioning script 2024-11-17 00:07:20 +01:00
Nicolas Jeannerod 56d125a5b0
Rework and cleanup provisioning script 2024-11-17 00:07:20 +01:00
Nicolas Jeannerod 95389bb615
Remove useless piece of code
Ids must start at 100 because of Proxmox.
2024-11-17 00:07:20 +01:00
Nicolas Jeannerod 1c614ff3b8
Add VM removal script 2024-11-17 00:07:20 +01:00
Nicolas Jeannerod 84ba26d187
Move Proxmox-related things under deployment/proxmox 2024-11-17 00:07:20 +01:00
Valentin Gagarin 07fa942989 increase sensitive area of the menu toggle 2024-11-15 09:54:37 +01:00
Valentin Gagarin b78d341d95 simplify menu-toggle label SVG 2024-11-15 09:54:37 +01:00
Valentin Gagarin e61ff7c039 show mobile menu toggle in mode-sensitive color 2024-11-15 09:54:37 +01:00
Nicolas Jeannerod 9803e69e3f Plug services and deployment into the flake (#3)
Reviewed-on: Fediversity/Fediversity#3
Reviewed-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2024-11-14 18:09:12 +01:00
Nicolas Jeannerod 435d9c861a
Integrate deployment as a flake part 2024-11-14 18:07:12 +01:00
Nicolas Jeannerod fc2acc13d8
Integrate services as a flake part 2024-11-14 18:07:11 +01:00
Nicolas Jeannerod 9c08267fce
Clean up what does not belong in services 2024-11-14 18:04:02 +01:00
Nicolas Jeannerod 81ae2df87b Fix typo causing disabled CI (#5)
Reviewed-on: Fediversity/Fediversity#5
Co-authored-by: Nicolas “Niols” Jeannerod <nicolas.jeannerod@moduscreate.com>
Co-committed-by: Nicolas “Niols” Jeannerod <nicolas.jeannerod@moduscreate.com>
2024-11-14 17:55:29 +01:00