nix-server/readme.md
2024-03-01 17:56:49 -08:00

25 lines
1.1 KiB
Markdown
Executable file

# flake-o-rama
nix flake dotfilez!! this is used on personal server
## users
this flake is built for a multi-user experience per host, enforced my `modules/user.nix`, and found in the `default.nix` file for each host.
as this is a multi-user setup, the `dotfiles` group will be used for read and write access to the flake
## development
to build the system, run `sudo nixos-rebuild switch --flake ".#server"`
please periodically run `nix flake update` to make sure we arent slacking on package versions
before committing, please run `nix flake check` and make sure everything is ok
## todo
- remove the lua static stuff from nginx + the cf ip
- per-host architecture selection, atm it is hardcoded to `aarch64`
- some weird perl error abt locales when building - `keepEnv` in `doas` might fix this
- leverage nixos-hardware
- even tho no one else uses these systems, i still want to keep this mutli user layout we have, this is gonna be pretty hard once we start bringing in desktop environments. we should find a compromise sometime. this could be another flake entirely now that i think about it.