diff options
author | Azat Bahawi <azat@bahawi.net> | 2023-11-16 01:47:45 +0300 |
---|---|---|
committer | Azat Bahawi <azat@bahawi.net> | 2023-11-16 01:47:45 +0300 |
commit | 1b39cfb14b608f374208a9483db661ccd1a43230 (patch) | |
tree | be2fefbe6c50f4598a1eb22f8b0a9260726b2c0a /modules/darwin/common | |
parent | 2023-11-13 (diff) |
2023-11-16
Diffstat (limited to 'modules/darwin/common')
-rw-r--r-- | modules/darwin/common/networking.nix | 2 | ||||
-rw-r--r-- | modules/darwin/common/nix.nix | 22 |
2 files changed, 1 insertions, 23 deletions
diff --git a/modules/darwin/common/networking.nix b/modules/darwin/common/networking.nix index 6c503bc..2843bc4 100644 --- a/modules/darwin/common/networking.nix +++ b/modules/darwin/common/networking.nix @@ -1,6 +1,6 @@ { - this, localHostname ? this.hostname, + this, ... }: { networking = { diff --git a/modules/darwin/common/nix.nix b/modules/darwin/common/nix.nix index 08379f8..0d216aa 100644 --- a/modules/darwin/common/nix.nix +++ b/modules/darwin/common/nix.nix @@ -1,31 +1,9 @@ { - config, - inputs, lib, this, ... }: with lib; { - _module.args = let - importNixpkgsx86 = nixpkgs: - import nixpkgs { - inherit (config.nixpkgs) config; - system = "x86_64-darwin"; - }; - in rec { - pkgsx86 = importNixpkgsx86 inputs.nixpkgs; - pkgsLocalx86 = importNixpkgsx86 "${config.my.home}/src/nixpkgs"; # Impure! - pkgsMasterx86 = importNixpkgsx86 inputs.nixpkgs-master; - pkgsStablex86 = importNixpkgsx86 inputs.nixpkgs-stable; - pkgsRevx86 = rev: hash: - importNixpkgsx86 (pkgs.fetchFromGitHub { - owner = "NixOS"; - repo = "nixpkgs"; - inherit rev hash; - }); - pkgsPrx86 = pr: pkgsRevx86 "refs/pull/${toString pr}/head"; - }; - nix = { daemonIOLowPriority = false; daemonProcessType = "Standard"; |