diff options
Diffstat (limited to '')
-rw-r--r-- | home/python/default.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/home/python/default.nix b/home/python/default.nix new file mode 100644 index 0000000..b34f978 --- /dev/null +++ b/home/python/default.nix @@ -0,0 +1,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 ]); +} |