From 2bcccfab29d806d3999fe3181ca8dcab21b7dd0e Mon Sep 17 00:00:00 2001 From: Daiderd Jordan Date: Mon, 5 Mar 2018 22:43:47 +0100 Subject: [PATCH] ofborg: add more comments to the example --- modules/examples/ofborg.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/examples/ofborg.nix b/modules/examples/ofborg.nix index 08461da6..3244b931 100644 --- a/modules/examples/ofborg.nix +++ b/modules/examples/ofborg.nix @@ -12,13 +12,15 @@ with lib; # $ nix-channel --update services.ofborg.package = (import {}).ofborg.rs; + # Keep nix-daemon updated. services.nix-daemon.enable = true; - nix.package = pkgs.nixUnstable; nix.gc.automatic = true; nix.gc.options = "--max-freed $((25 * 1024**3 - 1024 * $(df -P -k /nix/store | tail -n 1 | awk '{ print $4 }')))"; + # Manage user for ofborg, this enables creating/deleting users + # depending on what modules are enabled. users.knownGroups = [ "ofborg" ]; users.knownUsers = [ "ofborg" ];