diff options
author | sefidel <contact@sefidel.net> | 2023-09-16 19:01:53 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2023-09-16 19:01:53 +0900 |
commit | 4188df087c133fe1899641d43b20b326253cab98 (patch) | |
tree | c24338f47c2578ef7d6b6c9f94727d0956e79776 /lib | |
parent | 203deb6b381aa98af908a50d7081d4a24aeaae7a (diff) | |
download | nixrc-4188df087c133fe1899641d43b20b326253cab98.tar.gz nixrc-4188df087c133fe1899641d43b20b326253cab98.zip |
feat(darwin)!: remove darwin
Diffstat (limited to 'lib')
-rw-r--r-- | lib/mk_darwin.nix | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/lib/mk_darwin.nix b/lib/mk_darwin.nix deleted file mode 100644 index de4fc4e..0000000 --- a/lib/mk_darwin.nix +++ /dev/null @@ -1,23 +0,0 @@ -{ self, darwin, ... } @ args: - -{ name, nixpkgs, system ? "aarch64-darwin", overlays ? null, extraModules ? null }: -darwin.lib.darwinSystem ( - let - configFolder = "${self}/darwin"; - entryPoint = "${configFolder}/${name}/configuration.nix"; - in - { - system = system; - inputs = { inherit darwin nixpkgs; }; - - modules = [ - { - _module.args = args; - networking.hostName = name; - } - entryPoint - ../modules/nix.nix - ] ++ nixpkgs.lib.optional (overlays != null) { nixpkgs.overlays = overlays; } - ++ nixpkgs.lib.optionals (extraModules != null) extraModules; - } -) |