diff --git a/README.md b/README.md index 6c1a8fe..e384f95 100644 --- a/README.md +++ b/README.md @@ -1,16 +1,34 @@ -# NixOS +
+ NixOS +

❖ Snowflake ❖

+ GitHub Repo stars + GitHub last commit + GitHub repo size + + NixOS Unstable + +
-This is my NixOS flake. +These are my NixOS flake. -The configuration is split into nixos modules and home-manager modules, +It contains configurations for multiple host systems, and is +split into nixos modules and home-manager modules, which are then imported from each host according to it's needs. -Shell scripts built from the flake in https://github.com/joinemm/bin +Shell scripts built from the flake at -# Installation +## Installation For a given `host` -``` +```sh nixos-rebuild switch --flake .#host ``` + +## Deploying to remote servers + +This goes for cloud hosts like hetzner. The target server needs to have passwordless sudo for the user you log in as. + +```sh +nixos-rebuild switch --flake .#monitoring --use-remote-sudo --target-host $IP +```