about summary refs log tree commit diff
path: root/home/python/default.nix
blob: 9e725692716201d096ca5731e9229d80b187f5ca (plain) (blame)
1
2
3
4
5
6
7
8
9
10
{ 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 ]);
}