System/modules/options.nix

25 lines
656 B
Nix
Raw Normal View History

2022-06-23 02:57:41 -04:00
{ config, lib, pkgs, ... }:
2022-09-04 01:59:56 -04:00
2022-06-23 02:57:41 -04:00
let
inherit (import ./lib.nix { inherit lib; inherit pkgs; }) nLib;
in
{
options = with lib; with nLib; {
nathan = {
2022-09-04 02:22:19 -04:00
# Programs, many of these will be generic
2022-06-23 02:57:41 -04:00
programs = {
# Utility modules
utils = {
# Core utililtes I want on every system
# Enabled by default
core = mkEnableOptionT "utils-core";
# Development utilities that can't be installed through home manager due to collisions
devel = mkDefaultOption "devel" config.nathan.config.isDesktop;
2022-06-23 02:57:41 -04:00
};
};
# General system configuration
2022-09-04 02:22:19 -04:00
config = { };
2022-06-23 02:57:41 -04:00
};
};
}