nixos/modules/dev/projects
2023-07-10 13:58:50 +03:00
..
SakoEngine todo deal with this later 2023-07-10 13:58:50 +03:00
default.nix add projects module 2023-07-09 15:19:20 +03:00
README.md make this too 2023-07-09 14:49:25 +03:00

Projects

Make a new nix file with your projects name And add all the dependencies for your project here!

{ 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
    ];
  };
}