Skip to content

Instantly share code, notes, and snippets.

@zohl
zohl / configuration.nix
Created August 3, 2016 20:33
A minimal example of configuration with networkmanager and without GNOME
{ config, pkgs, ... }:
{
fileSystems."/boot" =
{ device = "/dev/sda1";
fsType = "vfat";
};
fileSystems."/" =
{ device = "/dev/sda2";
@zohl
zohl / tt-rss-configuration.nix
Last active June 11, 2016 17:54
A complete example of tt-rss configuration
fileSystems."/srv/http/www/tt-rss" = {
device = "/var/lib/tt-rss";
options = ["bind"];
};
services.nginx = {
enable = true;
config = ''