nixos/profiles/nix/default.nix

28 lines
404 B
Nix
Raw Normal View History

2025-10-05 17:13:23 +02:00
{
config,
lib,
pkgs,
...
}:
let
cfg = config.my.profiles.nix;
in
{
options.my.profiles.nix = with lib; {
enable = mkEnableOption "nix profile";
};
config = lib.mkIf cfg.enable {
environment.systemPackages = with pkgs; [
nix-index
nix-init
nix-prefetch
nix-update
nixfmt-rfc-style
nixpkgs-hammering
nixpkgs-review
shh
];
};
}