Skip to content

thinceller/dotfiles

Repository files navigation

dotfiles

management dotfiles

Documentation

Usage

Update dependencies

# update flake.lock and _sources by nvfetcher
$ nix run .#update

Apply macOS configuration (nix-darwin)

$ sudo darwin-rebuild switch --flake .#kohei-m4-mac-mini
# or for the work machine
$ sudo darwin-rebuild switch --flake .#SC-N-843

Apply NixOS server configuration (oberon)

通常運用 (アプリ層変更) は Mac から --target-host で deploy する:

$ nixos-rebuild switch \
    --flake .#oberon \
    --target-host oberon \
    --build-host oberon \
    --sudo --ask-sudo-password

cloudflared / sshd / firewall / network 等の経路系を触る変更や、SSH 不通時の 復旧では別の方式を使う。詳細は docs/oberon-deploy.md を参照。

About

management dotfiles

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors