From 9969e5a1bbb21fb03f92f93dfbfa7ac4b4eef76b Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Thu, 25 Jan 2024 13:59:33 -0600 Subject: [PATCH] formatting --- hosts/algiz/default.nix | 4 ++-- lib/default.nix | 3 ++- modules/langs/python.nix | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) 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 {