mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-10-15 11:27:18 +02:00
27 lines
404 B
Nix
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
|
|
];
|
|
};
|
|
}
|