diff --git a/lib/internal.md b/lib/doc/readme.md similarity index 94% rename from lib/internal.md rename to lib/doc/readme.md index 8d95311..9490ce7 100644 --- a/lib/internal.md +++ b/lib/doc/readme.md @@ -1,5 +1,14 @@ # Internal Usage +## Secrets? + +If you're deploying anything secrets-related, you will need the proper keys: + +```shell_session +$ mkdir -p ${XDG_CONFIG_HOME:-~/.config}/sops/age +$ pass age-key >> ${XDG_CONFIG_HOME:-~/.config}/sops/age/keys.txt +``` + ## Update Server **NOTE**: I want to establish a solid way to do this without `root@`. diff --git a/readme.md b/readme.md index 1a741fa..072f20f 100644 --- a/readme.md +++ b/readme.md @@ -9,70 +9,16 @@ Nix for lytedev -My Nix monorepo and main Flake. +My Nix monorepo. - Desktop configurations - Laptop configurations - Home server configurations - Remote server configurations - Home router configurations -- Packages -- Fonts +- My packages +- New project templates -# Quick Start +# Docs -```shell_session -$ nixos-rebuild switch --flake git+https://git.lyte.dev/lytedev/nix#${FLAKE_ATTR} -``` - -You don't have even have to clone this crap yourself. How cool is that! But if you do, it looks like this: - -```shell_session -$ nixos-rebuild switch --flake ./repo/dir/for/nix#${FLAKE_ATTR} -``` - -## Secrets - -If you're deploying anything secrets-related, you will need the proper keys: - -```shell_session -$ mkdir -p ${XDG_CONFIG_HOME:-~/.config}/sops/age -$ pass age-key >> ${XDG_CONFIG_HOME:-~/.config}/sops/age/keys.txt -``` - -## NixOS - -```shell_session -$ nixos-rebuild switch --flake . -``` - -## Not NixOS - -**NOTE**: I pretty much solely use Home Manager as a NixOS module presently, so -this is not fully supported. - -```shell_session -$ curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install -$ nix run github:nix-community/home-manager switch --flake git+https://git.lyte.dev/lytedev/nix#${FLAKE_ATTR} -``` - -# Internal/Advanced Usage - -See [lib/internal.md](./lib/internal.md). - -# To Do - -## Short Term - -- gnome missing icons -- ghostty only notify if window or pane or w/e is not focused -- more-easily manage gitea repo mirroring to github? -- a.lyte.dev for web analytics is down -- grafana and stuff for monitoring -- alerts? -- Broot config? - -## Long Term - -- nix-darwin for work profile(s) - - https://medium.com/@zmre/nix-darwin-quick-tip-activate-your-preferences-f69942a93236 +See [lib/doc](./lib/doc/).