diff options
| author | Daiderd Jordan <daiderd@gmail.com> | 2018-03-05 22:43:47 +0100 |
|---|---|---|
| committer | Daiderd Jordan <daiderd@gmail.com> | 2018-03-05 22:43:47 +0100 |
| commit | 2bcccfab29d806d3999fe3181ca8dcab21b7dd0e (patch) | |
| tree | 05f301dff880a761d320b843cdb8bf1d7c6754d7 | |
| parent | f1f6a81b9aa33aa5471e29b6bf71a30e5f4172c4 (diff) | |
ofborg: add more comments to the example
| -rw-r--r-- | modules/examples/ofborg.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/examples/ofborg.nix b/modules/examples/ofborg.nix index 08461da..3244b93 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> {}).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" ]; |
