Skip to content

Latest commit

 

History

History
43 lines (31 loc) · 1.69 KB

README.md

File metadata and controls

43 lines (31 loc) · 1.69 KB
NixOS

Snowflake

GitHub Repo stars GitHub last commit GitHub repo size NixOS Unstable

This is my NixOS flake, including all my system dotfiles and settings.

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

Hosts

  • zeus - Desktop workstation/gaming pc
  • x1 - Thinkpad X1 Carbon gen11 work laptop
  • monitoring - Grafana and prometheus server for monitoring my servers
  • hetzner - Syncthing central sync node and webserver

Installation

For a given host

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.

nixos-rebuild switch --flake .#$HOST --use-remote-sudo --target-host $IP