Use flake-utils to be generic over systems
This commit is contained in:
@@ -18,7 +18,7 @@
|
|||||||
pkgsForSystem = (system: import nixpkgs {
|
pkgsForSystem = (system: import nixpkgs {
|
||||||
inherit system;
|
inherit system;
|
||||||
overlays = [
|
overlays = [
|
||||||
self.overlays.xonsh_with_plugins."${system}"
|
self.overlays."${system}".xonsh_with_plugins
|
||||||
];
|
];
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -34,14 +34,14 @@
|
|||||||
];
|
];
|
||||||
});
|
});
|
||||||
in
|
in
|
||||||
# flake-utils.lib.eachDefaultSystem (system: {
|
flake-utils.lib.eachDefaultSystem (system: {
|
||||||
# overlays.xonsh_with_plugins = import ./overlays/xonsh.nix { mach-nix = mach-nix.lib."${system}"; };
|
overlays.xonsh_with_plugins = import ./overlays/xonsh.nix { mach-nix = mach-nix.lib."${system}"; };
|
||||||
# homeConfigurations.std = mkHomeConfig { inherit system; };
|
legacyPackages.homeConfigurations.std = mkHomeConfig { inherit system; };
|
||||||
# });
|
});
|
||||||
{
|
# {
|
||||||
overlays.xonsh_with_plugins.x86_64-linux = import ./overlays/xonsh.nix { mach-nix = mach-nix.lib."x86_64-linux"; };
|
# overlays.xonsh_with_plugins.x86_64-linux = import ./overlays/xonsh.nix { mach-nix = mach-nix.lib."x86_64-linux"; };
|
||||||
overlays.xonsh_with_plugins.x86_64-darwin = import ./overlays/xonsh.nix { mach-nix = mach-nix.lib."x86_64-darwin"; };
|
# overlays.xonsh_with_plugins.x86_64-darwin = import ./overlays/xonsh.nix { mach-nix = mach-nix.lib."x86_64-darwin"; };
|
||||||
homeConfigurations.linux = mkHomeConfig { system="x86_64-linux"; };
|
# homeConfigurations.linux = mkHomeConfig { system="x86_64-linux"; };
|
||||||
homeConfigurations.mac = mkHomeConfig { system="x86_64-darwin"; };
|
# homeConfigurations.mac = mkHomeConfig { system="x86_64-darwin"; };
|
||||||
};
|
# };
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user