about summary refs log tree commit diff
path: root/home/python
diff options
context:
space:
mode:
Diffstat (limited to 'home/python')
-rw-r--r--home/python/default.nix9
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 ]);
+}