summaryrefslogtreecommitdiff
path: root/modules/examples
diff options
context:
space:
mode:
authorMichael Hoang <enzime@users.noreply.github.com>2024-11-04 13:40:00 +1100
committerMichael Hoang <enzime@users.noreply.github.com>2024-11-07 15:24:16 +1100
commitc13549d7a632fc107bc8802463806fc2002c9c54 (patch)
tree443b7d60ac673bb6a80d658ade2099231eb79e8d /modules/examples
parent569153467be5f438e4f932a09bfba79adcecf856 (diff)
examples: drop `ofborg` example
We decided to drop this example as the package is not available in Nixpkgs and we won't be able to import it easily and keep this example evaluating as a useful smoke test. The code in this example is already documented under `services.ofborg.*` so any interested users can still find out how to set up `ofborg`.
Diffstat (limited to 'modules/examples')
-rw-r--r--modules/examples/ofborg.nix24
1 files changed, 0 insertions, 24 deletions
diff --git a/modules/examples/ofborg.nix b/modules/examples/ofborg.nix
deleted file mode 100644
index ed928b7..0000000
--- a/modules/examples/ofborg.nix
+++ /dev/null
@@ -1,24 +0,0 @@
-{ config, lib, pkgs, ... }:
-
-with lib;
-
-{
- # Logs are enabled by default.
- # $ tail -f /var/log/ofborg.log
- services.ofborg.enable = true;
- # services.ofborg.configFile = "/var/lib/ofborg/config.json";
-
- # $ nix-channel --add https://github.com/NixOS/ofborg/archive/released.tar.gz ofborg
- # $ nix-channel --update
- services.ofborg.package = (import <ofborg> {}).ofborg.rs;
-
- # Keep nix-daemon updated.
- services.nix-daemon.enable = 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 }')))";
-
- # Used for backwards compatibility, please read the changelog before changing.
- # $ darwin-rebuild changelog
- system.stateVersion = 5;
-}