about summary refs log tree commit diff
path: root/home/python/default.nix
blob: b34f978db9f75ac630806edc21c8b185d34033b1 (plain) (blame)
1
2
3
4
5
6
7
8
9
{ config, pkgs, lib, ... }:
let cfg = config.my.home.python;
in {
  options.my.home.python = with lib; {
    enable = mkEnableOption "python configuration";
  };

  config.home.packages = with pkgs; lib.mkIf cfg.enable ([ python310 ]);
}