Skip to content

songpola/nixos-config

Repository files navigation

songpola's NixOS Config

Setup

nixos-anywhere

Set password (using passwd) for root first

nix run github:nix-community/nixos-anywhere -- --flake github:songpola/nixos-config#<hostname> root@<host>

Usage

nh

nh os switch

nixos-rebuild

sudo nixos-rebuild switch --flake github:songpola/nixos-config

Deploy to Remote Host

  • Add --build-host <user>@<host> flag to build on remote host
  • Add --use-remote-sudo flag if use non-root user
  • Add --use-substitutes flag to speed up if the remote host is faster
nixos-rebuild --flake github:songpola/nixos-config --target-host <user>@<host> switch

Notes

pnpm

Install the LTS version of Node.js

pnpm env use --global lts

References

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published