mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-10-15 19:37:19 +02:00
This commit is contained in:
parent
cc43754cbc
commit
a7b87a8cb1
4 changed files with 29 additions and 10 deletions
27
profiles/nix/default.nix
Normal file
27
profiles/nix/default.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
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
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue