diff options
Diffstat (limited to 'modules/examples')
| -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" ]; |
