nixos/profiles/nix/default.nix
Felix Buehler a7b87a8cb1
Some checks failed
/ Build Nix targets (push) Has been cancelled
profile/nix: init and add shh
2025-10-05 17:13:23 +02:00

27 lines
404 B
Nix

{
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
];
};
}