home

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

dev.nix (355B)


      1 { config, lib, pkgs, ... }:
      2 
      3 with lib;
      4 let
      5   cfg = config.profiles.dev;
      6 in
      7 {
      8   options = {
      9     profiles.dev = {
     10       enable = mkEnableOption "Enable dev profile";
     11     };
     12   };
     13   config = mkIf cfg.enable {
     14     profiles.git.enable = true;
     15     environment.systemPackages = with pkgs; [
     16       git
     17       tig
     18       grc
     19       ripgrep
     20       gnumake
     21     ];
     22   };
     23 }