nix-files/TODO.md

35 lines
1.3 KiB
Markdown
Raw Normal View History

2023-05-13 10:04:46 +00:00
## refactoring:
### sops/secrets
- move every secret into its own file.
- define SOPS secrets by crawling the ./secrets directory instead of manually defining them.
- see about removing the sops activation script and just using systemd scripts instead.
- maybe this fixes the multiple "building the system configuration..." messages during nixos-rebuild switch?
### roles
- allow any host to take the role of `uninsane.org`
- will make it easier to test new services?
## improvements:
2023-05-14 02:08:09 +00:00
### security/resilience
- validate duplicity backups!
- encrypt more ~ dirs (~/archives, ~/records, ..?)
- best to do this after i know for sure i have good backups
2023-05-13 10:04:46 +00:00
- have `sane.programs` be wrapped such that they run in a cgroup?
- at least, only give them access to the portion of the fs they *need*.
- Android takes approach of giving each app its own user: could hack that in here.
2023-05-14 02:08:09 +00:00
- canaries for important services
- e.g. daily email checks; daily backup checks
2023-05-13 10:04:46 +00:00
2023-05-13 12:52:45 +00:00
### perf
- why does nixos-rebuild switch take 5 minutes when net is flakey?
2023-05-14 02:08:09 +00:00
- trying to auto-mount servo?
2023-05-13 12:52:45 +00:00
- something to do with systemd services restarting/stalling
- maybe wireguard & its refresh operation, specifically?
2023-05-13 10:04:46 +00:00
## new features:
- add a FTP-accessible file share to servo
- just /var/www?
- migrate MAME cabinet to nix
- boot it from PXE from servo?