Something went wrong. Try again.
Personal Nix setup
Something went wrong. Try again.
374 B · 19 lines
Nix
at main
1234567891011121314151617181920{ lib, config, pkgs, ... }:
with lib;let cfg = config.modules.development;in { options.modules.development.zig = { enable = mkOption { default = cfg.enable; example = true; description = "Whether to enable Zig configuration."; type = types.bool; }; };
config = mkIf cfg.zig.enable { home.packages = with pkgs; [ zig ]; };}