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:
parent
f1f6a81b9a
commit
2bcccfab29
1 changed files with 3 additions and 1 deletions
|
@ -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" ];
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue