Skip to content

Kranzes/nixos-stuff

 
 

Repository files navigation

nixos-stuff

Usage

nix run -f . deployments.t490s -c deploy [switch|boot|test] [target*]

Example

nix run -f . deployments.arianvp-me -c deploy switch root@arianvp.me

Deployments

These are defined in overlays/deployments.nix

Deploying on digitalocean

  1. Build the image
nix-build -A digitalocean-image
  1. Upload it to Digitalocean
  2. Start a droplet
  3. you can now deploy with nix run -f . deployments.arianvp-me -c deploy switch root@<droplet ip>

Setting up user environment

If you're not on NixOS

Note: Can not be used in conjunction with manual usage of nix-env --install as this will override the environment that this installs

$ ./setup-user-env.sh

About

Nixos stuff

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 46.4%
  • Nix 44.5%
  • CSS 7.3%
  • JavaScript 1.2%
  • Shell 0.6%