Commit Graph

80 Commits

Author SHA1 Message Date
Oystein Kristoffer Tveit df3aa7c10e
tsuki: setup oauth2 for pgadmin
This commit also changes the pgadmin package from `22.11` to `unstable`
2023-03-17 01:28:33 +01:00
Oystein Kristoffer Tveit 5e2a5a939b
tsuki: move gitea postgres password to sops 2023-03-08 15:59:50 +01:00
Oystein Kristoffer Tveit a82a3f95c0
tsuki: move hardware config to configuration file 2023-03-08 15:26:07 +01:00
Oystein Kristoffer Tveit 7a0fcf7805
tsuki: configure wildcard certs for nginx 2023-03-08 14:54:43 +01:00
Oystein Kristoffer Tveit ebd854a0ae
gitea: set up oauth2 2023-03-08 14:54:42 +01:00
Oystein Kristoffer Tveit dd6c99226e
tsuki: set up hedgedoc
the dynmap subdomain was also renamed from "dyn" to "map" in this commit
2023-03-08 14:54:40 +01:00
Oystein Kristoffer Tveit 1d99bbfd46
Set up sops-nix 2023-03-07 23:15:21 +01:00
Oystein Kristoffer Tveit 2ad7b7b2c3
tsuki: remove keycloak 2023-03-07 23:15:20 +01:00
Oystein Kristoffer Tveit 0df70d6c72
tsuki: add well-known autoconfig for thunderbird mail 2023-03-07 23:15:19 +01:00
Oystein Kristoffer Tveit d5ae85092c
tsuki: set up kanidm 2023-03-07 23:15:18 +01:00
Oystein Kristoffer Tveit f41fcce8c6
common: add some more nix options 2023-02-26 04:36:21 +01:00
Oystein Kristoffer Tveit 7c3c830d6e
tsuki: add recommended minecraft jvm flags 2023-02-25 21:15:35 +01:00
Oystein Kristoffer Tveit 5b0dd71b4a
tsuki: add some systemd constraints
Add some systemd constraints to some fix boottime service failures
2023-02-25 21:12:38 +01:00
Oystein Kristoffer Tveit a08f6ce28e
tsuki: add `.well-known/matrix/client` 2023-02-25 21:10:39 +01:00
Oystein Kristoffer Tveit 1eefc118bf
tsuki: add postgres to environment 2023-02-25 20:01:57 +01:00
Oystein Kristoffer Tveit 7f416ed5b8
common.nix: fix weird headless-var recursion issue 2023-02-25 18:05:57 +01:00
Oystein Kristoffer Tveit 42938295ac
kasei: misc changes
- new screen setup
- new network setup
- don't explicitly enable xserver and lightdm
- add nvidia video drivers to x11
2023-02-25 18:04:55 +01:00
Oystein Kristoffer Tveit 7ee4535963
kasei: enable docker and libvirtd 2023-02-25 18:01:22 +01:00
Oystein Kristoffer Tveit c215f945e9
kasei: move hardware-configuration to main config 2023-02-25 18:01:06 +01:00
Oystein Kristoffer Tveit 6b037127e2
kasei: add temporary logid service 2023-02-25 18:00:02 +01:00
Oystein Kristoffer Tveit 45497aea2b
tsuki: set up proper grafana infrastructure
- Set up a bunch of exporters
- Download matching dashboard declarations
- Remove influxdb
2023-01-20 19:55:52 +01:00
Oystein Kristoffer Tveit b772e3eca3
use resolved globally 2023-01-20 19:53:08 +01:00
Oystein Kristoffer Tveit e840a95ebe
tsuki: use matrix-synapse-next module with workers 2023-01-20 19:52:04 +01:00
Oystein Kristoffer Tveit 47d8aa7899
tsuki: add headscale 2023-01-16 17:16:42 +01:00
Oystein Kristoffer Tveit b5030a7c06
tsuki: move grafana config into nondeprecated attrset 2023-01-16 17:16:40 +01:00
Oystein Kristoffer Tveit 3820be9ef9
tsuki: update matrix stickers 2023-01-16 17:16:39 +01:00
Oystein Kristoffer Tveit ef4f5d4dd4
tsuki: reduce amount of gitea backups, and move state dir 2023-01-16 16:11:28 +01:00
Oystein Kristoffer Tveit eaa2e9bd1d
tsuki: update matrix stickers 2023-01-16 16:10:12 +01:00
Oystein Kristoffer Tveit 1b0ed26f15
tsuki: set up minecraft server 2023-01-16 16:06:34 +01:00
Oystein Kristoffer Tveit c78b2a2c26
tsuki: add osuchan service 2023-01-04 14:32:11 +01:00
Oystein Kristoffer Tveit 47f8183490
tsuki: move all datafiles/drives to TrueNAS NFS 2023-01-03 23:01:08 +01:00
Oystein Kristoffer Tveit aea736c2df
tsuki: remove a lot of unused services
Removed:
- dokuwiki (this was never properly set up)
- libvirt (this is already a virtual machine, double virtualization bad)
- openldap (this will become the responsibility of keycloak)
- openvpn (this will become the responsibility of head/tailscale)
- samba (this is now the responsibility of TrueNAS)
- searx (I never used this)
- gitlab (this has become the responsibility of gitea and hydra)
- syncthing (this was never properly set up)

The nix cache nginx entry is also paused, as it wasn't functional.

In this commit and the previous commit, the nginx config for the
minecraft server was also taken down, as the whole host is deleted.
The plan is to set it up again, this time using tsuki.
2023-01-03 22:52:24 +01:00
Oystein Kristoffer Tveit 3d088d73be
tsuki: add maunium stickerpickers 2023-01-03 22:46:21 +01:00
Oystein Kristoffer Tveit 2e3c8631fe
bi-annual nixos upgrade: `22.05` -> `22.11` 2022-11-26 22:50:17 +01:00
Oystein Kristoffer Tveit f2a89d7c82
grafana: split up configuration + postgres
- Move `services/grafana.nix` to `services/grafana/default.nix`
- Split up all data collectors into separate files under
  `services/grafana`
- Make grafana use postgres as its database
2022-11-26 17:16:04 +01:00
Oystein Kristoffer Tveit 850eaa9b1a
Switch to fcitx5 2022-11-20 18:32:03 +01:00
Oystein Kristoffer Tveit 8de5dd5f23
shell: update fixdisplay command
- add new `position` and `primary` options for fixdisplay
- make command completely lowercase
- initialize global zshrc
2022-11-20 17:12:27 +01:00
Oystein Kristoffer Tveit af345b38fc
kasei: add special home-manager-testing system config 2022-11-19 16:35:01 +01:00
Oystein Kristoffer Tveit bd7980ad97
kasei: remove wifi drivers (switch to ethernet) 2022-11-19 16:18:25 +01:00
Oystein Kristoffer Tveit 14acc9a389
buildMachines: fix tsuki builder url 2022-11-19 16:16:05 +01:00
Oystein Kristoffer Tveit b3aa6cad81
lib: move lib extensions into its own module argument 2022-11-19 16:14:18 +01:00
Oystein Kristoffer Tveit ec2dd35824
kasei: update fixdisplay command 2022-11-11 21:19:46 +01:00
Oystein Kristoffer Tveit f9280452fb
nginx: fix failing hosts
- nani.wtf has changed flake structure
- jupyter need websockets
2022-11-08 14:28:59 +01:00
Oystein Kristoffer Tveit 61a99fae7b
postgres: add backup service, change initial mail 2022-11-08 14:20:33 +01:00
Oystein Kristoffer Tveit b5de57fd01
Add config for jupyter 2022-11-05 22:49:54 +01:00
Oystein Kristoffer Tveit 5d78680e82
Add dirty hack to fix gitea temporarily 2022-11-03 23:16:18 +01:00
Oystein Kristoffer Tveit 4647c562ab
Remove unused nginx.nix, which was renamed in 1881cb0 2022-10-14 00:06:00 +02:00
Oystein Kristoffer Tveit db29ccddca
Tweaked Gitea theme and config 2022-10-14 00:02:19 +02:00
Oystein Kristoffer Tveit bdc8817eef
Added nix builder config for tsuki and isvegg
- Also updated nix package name
2022-10-13 23:58:48 +02:00
Oystein Kristoffer Tveit 1881cb0bca
Extended nani.wtf/.well-known with some new stuff
- Added WKD openpgp key
- Added security.txt
- Added keybase.txt
2022-10-13 23:42:42 +02:00