Files
NixOS/modules/dev/nix/nixos.nix
Danilo Reyes 66483c89ac
All checks were successful
MCP Tests / mcp-tests (push) Successful in 19s
code rules
2026-03-23 15:49:51 -06:00

31 lines
652 B
Nix

{
config,
inputs,
lib,
pkgs,
...
}:
let
nix = import ./common.nix {
inherit pkgs;
inherit (config.networking) hostName;
};
in
{
options = {
devShells.nix = lib.mkOption {
type = lib.types.package;
default = nix.devShell;
description = "Nix/NixOS development shell with formatter, linter, LSP, and Cachix";
};
my.dev.nix = {
enable = lib.mkEnableOption "Install Nix tooling globally";
users = lib.mkOption {
type = inputs.self.lib.usersOptionType lib;
default = config.my.toggleUsers.dev;
description = "Users to install Nix packages for";
};
};
};
}