Skip to content

Instantly share code, notes, and snippets.

@cleverca22

cleverca22/cmd Secret

Created July 3, 2017 02:04
Show Gist options
  • Save cleverca22/a32177e4b2b8b7c1e443b6d0fa102827 to your computer and use it in GitHub Desktop.
Save cleverca22/a32177e4b2b8b7c1e443b6d0fa102827 to your computer and use it in GitHub Desktop.
nixos-rebuild build-vm -I nixos-config=./configuration.nix -Q -j 8
{ pkgs, ... }:
{
services.nginx.enable = true;
services.tt-rss.enable = true;
services.tt-rss.root = "/var/www/ttrss";
services.tt-rss.selfUrlPath = "http://localhost";
services.tt-rss.database.host = "localhost";
services.tt-rss.database.name = "tt_rss";
services.tt-rss.database.user = "tt_rss";
services.tt-rss.database.password = "password";
services.tt-rss.virtualHost = "localhost";
services.postgresql.enableTCPIP = true;
services.postgresql.enable = true;
services.postgresql.package = pkgs.postgresql95;
users.users.root.initialPassword = "hunter2";
virtualisation.graphics = false;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment