nix configurations used on my server
Find a file
2023-08-27 01:12:24 -07:00
hosts/server use ssh keys instead of password 2023-08-24 17:47:19 -07:00
lib use ssh keys instead of password 2023-08-24 17:47:19 -07:00
modules update gitea themes (fix signed commit bg) 2023-08-27 01:12:24 -07:00
overlays change permissions 2023-08-22 21:51:48 -07:00
packages change permissions 2023-08-22 21:51:48 -07:00
default.nix update perms, add security module, add flake support by default again 2023-08-23 02:13:16 -07:00
flake.lock whole entire revamp 2023-08-22 21:49:15 -07:00
flake.nix whole entire revamp 2023-08-22 21:49:15 -07:00
readme.md update todo 2023-08-25 15:46:58 -07:00

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 .