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