aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2022-11-01 18:39:59 +0900
committersefidel <contact@sefidel.net>2022-11-01 18:39:59 +0900
commit0c487b4c4a6ccfbee09e27113a7a7f698903a30a (patch)
tree3137d953e364f116b8d2a41905519add215adf77
parentfe967b00e57444253cbac0c895c7fb3ecf4819a4 (diff)
downloadnixrc-0c487b4c4a6ccfbee09e27113a7a7f698903a30a.zip
darwin!: remove x86 support
-rw-r--r--darwin/darwin-x86.nix8
-rw-r--r--home/default.nix2
2 files changed, 1 insertions, 9 deletions
diff --git a/darwin/darwin-x86.nix b/darwin/darwin-x86.nix
deleted file mode 100644
index 30baf23..0000000
--- a/darwin/darwin-x86.nix
+++ /dev/null
@@ -1,8 +0,0 @@
-{ unstable, ... }:
-
-final: prev: prev.lib.optionalAttrs (prev.stdenv.system == "aarch64-darwin") {
- # Add access to x86 packages system is running Apple Silicon
- pkgs-x86 = import unstable {
- system = "x86_64-darwin";
- };
-}
diff --git a/home/default.nix b/home/default.nix
index be1105f..89cf8e1 100644
--- a/home/default.nix
+++ b/home/default.nix
@@ -22,7 +22,7 @@
"o32@kompakt" = self.lib.mkHome {
username = "o32";
hostname = "kompakt";
- pkgs = import unstable { system = "aarch64-darwin"; overlays = with inputs; [ rust.overlays.default (import ../darwin/darwin-x86.nix { inherit unstable; }) ]; };
+ pkgs = import unstable { system = "aarch64-darwin"; overlays = with inputs; [ rust.overlays.default ]; };
extraModules = [
./profiles/populate.nix