nixconfig/shells/default.nix

14 lines
458 B
Nix
Raw Normal View History

2023-11-25 03:42:12 +01:00
{ inputs, ... }:
2023-11-24 16:57:46 +01:00
let
forEachSystem =
inputs.nixpkgs.lib.genAttrs [ "aarch64-linux" "x86_64-linux" ];
2023-11-24 19:08:21 +01:00
in forEachSystem (system:
let
overlays = import ./pkgs/overlay.nix { inherit pkgs; };
overrides = { custom = import ./pkgs { inherit pkgs; }; };
pkgs = import inputs.nixpkgs { inherit system overlays; } // overrides;
in {
default = import ./shells/devsh { inherit pkgs; };
devsh = import ./shells/devsh { inherit pkgs; };
})