1
1
mirror of https://github.com/LnL7/nix-darwin.git synced 2024-08-16 16:10:39 +03: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
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" ];