refactor: Fully modularize the working system components to be more

reuasable
This commit is contained in:
2025-12-09 17:38:41 -05:00
committed by Hunter Halloran
parent 0e5c993a26
commit ebb70eca07
31 changed files with 923 additions and 754 deletions

22
sw/python.nix Normal file
View File

@@ -0,0 +1,22 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.modules.sw.python;
in {
options.modules.sw.python = {
enable = mkEnableOption "Python development tools (pixi, uv)";
};
config = mkIf cfg.enable {
environment.systemPackages = [
(pkgs.buildFHSEnv {
name = "pixi";
runScript = "pixi";
targetPkgs = pkgs: with pkgs; [ pixi ];
})
pkgs.uv
];
};
}