We'll use NixOps to deploy, so we need to install it
nix-env -i nixops
And to deploy on DigitalOcean we need to have an account and create an API access token for it.
#!/bin/sh | |
# | |
# a simple way to parse shell script arguments | |
# | |
# please edit and use to your hearts content | |
# | |
ENVIRONMENT="dev" |
>>> import pytz | |
>>> | |
>>> for tz in pytz.all_timezones: | |
... print tz | |
... | |
... | |
Africa/Abidjan | |
Africa/Accra | |
Africa/Addis_Ababa | |
Africa/Algiers |
[Desktop Entry] | |
Name=Feh | |
Name[en_US]=feh | |
GenericName=Image viewer | |
GenericName[en_US]=Image viewer | |
Comment=Fast Imlib2-based Image Viewer | |
Exec=bash -c "feh -. --start-at ./$(realpath --relative-to=$(dirname %f) %f)" | |
Terminal=false | |
Type=Application | |
Icon=feh |
We'll use NixOps to deploy, so we need to install it
nix-env -i nixops
And to deploy on DigitalOcean we need to have an account and create an API access token for it.
how to leverage oracle's temping offers
The limits of the free tier say that you can create up to 4 instances.
If you'd like to keep up-to-date with Chrome from unstable but otherwise want to run a stable NixOS release you can do the following:
/etc/nixos/unstable.nix
:{ config, pkgs, ...}:
let
baseconfig = { allowUnfree = true; };
unstable = import <nixos-unstable> { config = baseconfig; };
in {