Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
joinemm committed Jun 4, 2024
1 parent 46aa062 commit 98c8d3b
Showing 1 changed file with 24 additions and 6 deletions.
30 changes: 24 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,34 @@
# NixOS
<div align="center">
<img alt="NixOS" src="https://raw.githubusercontent.com/NixOS/nixos-artwork/master/logo/nix-snowflake-white.svg" width="120px"/>
<h1>❖ Snowflake ❖</h1>
<img src="https://img.shields.io/github/stars/joinemm/snowflake?style=for-the-badge&labelColor=5074bf&color=ef65ea" alt="GitHub Repo stars"/>
<img src="https://img.shields.io/github/last-commit/joinemm/snowflake?style=for-the-badge&labelColor=5074bf&color=ef65ea" alt="GitHub last commit"/>
<img src="https://img.shields.io/github/repo-size/joinemm/snowflake?style=for-the-badge&labelColor=5074bf&color=ef65ea" alt="GitHub repo size"/>
<a href="https://nixos.org" target="_blank">
<img src="https://img.shields.io/badge/NixOS-unstable-blue.svg?style=for-the-badge&labelColor=5074bf&logo=NixOS&logoColor=white&color=ef65ea" alt="NixOS Unstable"/>
</a>
</div>

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 <https://github.com/joinemm/bin>

# 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
```

0 comments on commit 98c8d3b

Please sign in to comment.