From c9ce1615ed02acaf36099f8235d03d40ea622622 Mon Sep 17 00:00:00 2001 From: Joseph Hanson Date: Tue, 5 Mar 2024 19:39:02 -0600 Subject: [PATCH] Remove unused files. --- hosts.nix | 21 --------------------- packages/default.nix | 26 -------------------------- 2 files changed, 47 deletions(-) delete mode 100644 hosts.nix delete mode 100644 packages/default.nix diff --git a/hosts.nix b/hosts.nix deleted file mode 100644 index 5248598..0000000 --- a/hosts.nix +++ /dev/null @@ -1,21 +0,0 @@ -{ - durincore = { - type = "nixos"; - hostPlatform = "x86_64-linux"; - pubkey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBsUe5YF5z8vGcEYtQX7AAiw2rJygGf2l7xxr8nZZa7w"; - }; - gandalf = { - type = "nixos"; - address = "gandalf.jahanson.tech"; - hostPlatform = "x86_64-linux"; - pubkey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBsUe5YF5z8vGcEYtQX7AAiw2rJygGf2l7xxr8nZZa7w"; - remoteBuild = true; - }; - este = { - type = "nixos"; - address = "este.jahanson.tech"; - hostPlatform = "x86_64-linux"; - pubkey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBsUe5YF5z8vGcEYtQX7AAiw2rJygGf2l7xxr8nZZa7w"; - remoteBuild = true; - }; -} \ No newline at end of file diff --git a/packages/default.nix b/packages/default.nix deleted file mode 100644 index 4e03594..0000000 --- a/packages/default.nix +++ /dev/null @@ -1,26 +0,0 @@ -{ - self, - nix-fast-build, - ... -}: -hostPlatform: - -let - inherit (self.pkgs."x86_64-linux") callPackage lib linkFarm; - - hostDrvs = lib.mapAttrs (_: nixos: nixos.config.system.build.toplevel) self.nixosConfigurations; - - compatHosts = lib.filterAttrs (_: host: host.hostPlatform == hostPlatform) self.hosts; - compatHostDrvs = lib.mapAttrs - (name: _: hostDrvs.${name}) - compatHosts; - - compatHostsFarm = linkFarm "hosts-x86_64-linux" (lib.mapAttrsToList (name: path: { inherit name path; }) compatHostDrvs); -in -compatHostDrvs -// (lib.optionalAttrs (compatHosts != { }) { - default = compatHostsFarm; -}) // { - inherit (nix-fast-build.packages."x86_64-linux") nix-fast-build; - inherit (self.pkgs."x86_64-linux") cachix nix-eval-jobs; -} \ No newline at end of file