summaryrefslogtreecommitdiffstats
path: root/modules/by-name/ni/nixos-option/module.nix
blob: e5cc9f12b817f980ab3744943968259b9901d3e8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
  config,
  lib,
  extra_lib,
  ...
}: let
  cfg = config.soispha.programs.nixos-option;
in {
  options.soispha.programs.nixos-option = {
    enable = lib.mkEnableOption "nixos-option";
  };

  config = lib.mkIf cfg.enable {
    # NOTE: We disable nixos-option here explicitly, because I never used it, and it
    # depends on cppnix. <2025-12-11>
    system.tools.nixos-option.enable = false;
  };
}