FlakM / blog

The sources for the federated blog https://flakm.com

Home Page:https://flakm.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

blog_deployment

# enable direnv integration
direnv allow


# check if env variables are setup in current shell without passing them to history
source  ./setup.sh


# unset if you've made a mistake
tofu init
tofu plan

Once the tofu apply is done there should be a ssh key in the directory that enables us to connect to the machine:

ssh root@blog.flakm.com

Updating the provisioned nixos host

After provisioning NixOs host you might just modify any of *.nix files and use:

nixos-rebuild switch --target-host root@blog.flakm.com --flake .#blog

About

The sources for the federated blog https://flakm.com

https://flakm.com

License:Apache License 2.0


Languages

Language:Rust 58.1%Language:Nix 32.1%Language:HCL 7.3%Language:CSS 1.4%Language:HTML 1.2%