diff --git a/modules/dev/projects/README.md b/modules/dev/projects/README.md new file mode 100644 index 00000000..8bc06f15 --- /dev/null +++ b/modules/dev/projects/README.md @@ -0,0 +1,26 @@ +# Projects + +Make a new nix file with your projects name +And add all the dependencies for your project +here! + +```nix +{ options, config, lib, pkgs, ...}: +with lib; +let + cfg = config.modules.dev.projects.myproject; +in +{ + options.modules.dev.projects.myproject = { + enable = mkEnableOption false; + }; + + config = mkIf cfg.enable { + users.users.myuser.packages = with pkgs; [ + usefulpackageone + anotherdependency + somethingsomethingawesomecoollibrary + ]; + }; +} +``` diff --git a/modules/dev/projects/default.nix b/modules/dev/projects/default.nix new file mode 100644 index 00000000..e69de29b