1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2025-03-05 16:27:03 +00:00

ofborg: add more comments to the example

This commit is contained in:
Daiderd Jordan 2018-03-05 22:43:47 +01:00
parent f1f6a81b9a
commit 2bcccfab29
No known key found for this signature in database
GPG key ID: D02435D05B810C96

View file

@ -12,13 +12,15 @@ with lib;
# $ nix-channel --update # $ nix-channel --update
services.ofborg.package = (import <ofborg> {}).ofborg.rs; services.ofborg.package = (import <ofborg> {}).ofborg.rs;
# Keep nix-daemon updated.
services.nix-daemon.enable = true; services.nix-daemon.enable = true;
nix.package = pkgs.nixUnstable; nix.package = pkgs.nixUnstable;
nix.gc.automatic = true; nix.gc.automatic = true;
nix.gc.options = "--max-freed $((25 * 1024**3 - 1024 * $(df -P -k /nix/store | tail -n 1 | awk '{ print $4 }')))"; 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.knownGroups = [ "ofborg" ];
users.knownUsers = [ "ofborg" ]; users.knownUsers = [ "ofborg" ];