nix configurations used on my server
hosts/server | ||
lib | ||
modules | ||
overlays | ||
packages | ||
default.nix | ||
flake.lock | ||
flake.nix | ||
readme.md |
Flake-o-rama
Nix Flake dotfiles used on my server.
Todo
- Make it so our secrets consist upon reboot (currently just our wifi password, have to set every reboot) (maybe with Agenix + Age?)
- Migrate our openresty/nginx modules and our gitea themes to actual packages
- Maybe make it so that SSH auth works in gitea (open some ports) (it's really annoying typing in password all the time)
Development
Commands here will assume you are currently in the directory of the dotfiles.
- To build the system:
sudo nixos-rebuild switch --flake ".#server"
- To update the system:
sudo nixos-rebuild switch --upgrade --flake ".#server"
- To test the system:
nix flake check
Permissions
Commands here will assume you are currently in the directory of the dotfiles.
File permissions should be done through the following commands:
sudo chmod 775 -R .
sudo chown -R reidlab:dotfiles .