Create develpoment module
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
{
|
||||
imports = [
|
||||
./development.nix
|
||||
./gnome.nix
|
||||
./gui.nix
|
||||
./python.nix
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
{ config, pkgs, lib, ... }:
|
||||
let
|
||||
packages = with pkgs; [
|
||||
cargo
|
||||
nixd
|
||||
nixpkgs-review
|
||||
];
|
||||
in with lib; {
|
||||
options.greg.development = mkEnableOption "Setup necessary development packages";
|
||||
|
||||
config = mkIf config.greg.development {
|
||||
home.packages = packages;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user