about summary refs log tree commit diff
path: root/modules/services/pubnix.nix
blob: dfe3d586c67a1a71810aefe1060a1ca99e6616bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ config, lib, pkgs, ... }:

with lib;
let
  cfg = config.modules.services.pubnix;
in
{
  options.modules.services.pubnix = {
    enable = mkEnableOption "serve pubnix shell";
  };

  config = mkIf cfg.enable {
    nix.gc.automatic = true;
    nix.gc.dates = "daily";

    environment.systemPackages = with pkgs; [
      bsd-finger
    ];
  };
}