diff --git a/hosts/algiz/default.nix b/hosts/algiz/default.nix index cc29b5b..ac346f0 100644 --- a/hosts/algiz/default.nix +++ b/hosts/algiz/default.nix @@ -8,8 +8,8 @@ ]; languages = { - nim= true; - python= true; + nim = true; + python = true; }; cli.enable = true; diff --git a/lib/default.nix b/lib/default.nix index 571fc88..f27a90a 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -8,8 +8,9 @@ inherit (nixpkgs.lib.filesystem) listFilesRecursive; supportedSystems = ["x86_64-linux" "x86_64-darwin" "aarch64-linux" "aarch64-darwin"]; - forAllSystems = f: genAttrs supportedSystems (system: f nixpkgs.legacyPackages.${system}); in rec { + forAllSystems = f: genAttrs supportedSystems (system: f nixpkgs.legacyPackages.${system}); + shToPkg = path: forAllSystems ( pkgs: let diff --git a/modules/langs/python.nix b/modules/langs/python.nix index 7da0c3e..b09c1b4 100644 --- a/modules/langs/python.nix +++ b/modules/langs/python.nix @@ -5,7 +5,7 @@ ... }: let inherit (lib) mkEnableOption mkIf; - cfg = config.languages ; + cfg = config.languages; in { options.languages.python = mkEnableOption "python"; config = mkIf cfg.python {