From dad44b3526502f9d94a3f39646af5ade2b5c5120 Mon Sep 17 00:00:00 2001 From: reidlab Date: Sat, 6 Jan 2024 03:52:39 -0800 Subject: [PATCH] change readme --- readme.md | 31 +++++++------------------------ 1 file changed, 7 insertions(+), 24 deletions(-) diff --git a/readme.md b/readme.md index bdb6e81..8a30bc5 100755 --- a/readme.md +++ b/readme.md @@ -1,36 +1,19 @@ # Flake-o-rama -Nix Flake dotfiles used on my server. +nix flake dotfilez!! this is used on personal server ## Todo -* 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) -* Fail2Ban +- fail2ban ## Development -_Commands here will assume you are currently in the directory of the dotfiles._ +to build the system, run `sudo nixos-rebuild switch --flake ".#server"` -- To build the system: - ```sh - sudo nixos-rebuild switch --flake ".#server" - ``` -- To update the system: - ```sh - sudo nixos-rebuild switch --upgrade --flake ".#server" - ``` -- To test the system: - ```sh - nix flake check - ``` +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 ## Permissions -_Commands here will assume you are currently in the directory of the dotfiles._ - -File permissions should be done through the following commands: -```sh -sudo chmod 775 -R . -sudo chown -R reidlab:dotfiles . -``` +the `dotfiles` group is for permissions to edit this, plz chown for that!