Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 548 Bytes

File metadata and controls

29 lines (22 loc) · 548 Bytes

config.nix

My computer/server configuration on Nix language.

# nix flake show
├───darwinConfigurations: unknown
├───deploy: unknown
└───nixosConfigurations
    ├───hetzner-sg: NixOS configuration
    └───homelab: NixOS configuration

Deployment

For Mac machine:

sudo darwin-rebuild switch --flake .

For deploying flakes to remote machine:

# for homelab
nix run github:serokell/deploy-rs -- .#homelab
# for hetzner-sg
nix run github:serokell/deploy-rs -- .#hetzner-sg