Create develpoment module

This commit is contained in:
Greg Hellings
2024-08-04 19:01:13 -05:00
parent bbf77909b1
commit 7b67f63295
3 changed files with 23 additions and 2 deletions
+8 -2
View File
@@ -1,6 +1,12 @@
{ pkgs, config, ... }: { pkgs, config, ... }:
{ {
greg.gnome = true; greg = {
greg.gui = true; development = true;
gnome = true;
gui = true;
};
home.packages = with pkgs; [
cargo
];
} }
+1
View File
@@ -2,6 +2,7 @@
{ {
imports = [ imports = [
./development.nix
./gnome.nix ./gnome.nix
./gui.nix ./gui.nix
./python.nix ./python.nix
+14
View File
@@ -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;
};
}