nixos-config/configurations/profile/common/default.nix

10 lines
349 B
Nix

{ config, pkgs, lib, materusFlake, inputs, ... }:
{
imports = [
./nixpkgs.nix
./packages
];
config._module.args.materusPkgs = (import inputs.configInputs.inputs.nixerus { inherit pkgs; }) //
(if pkgs.system == "x86_64-linux" then { i686Linux = import inputs.configInputs.inputs.nixerus { pkgs = pkgs.pkgsi686Linux; }; } else { });
}