From 9d368b6b17d8de6712eb1282fd034c204ce40509 Mon Sep 17 00:00:00 2001 From: Tao Tien <29749622+taotien@users.noreply.github.com> Date: Thu, 25 Apr 2024 15:48:29 -0700 Subject: [PATCH] backout of hydra setup --- flake.nix | 7 ------- systems/NOcomputer.nix | 22 ---------------------- 2 files changed, 29 deletions(-) diff --git a/flake.nix b/flake.nix index 5da66fa..bc399a9 100644 --- a/flake.nix +++ b/flake.nix @@ -59,13 +59,6 @@ nixos-cosmic, ... } @ inputs: { - hydraJobs = { - # inherit - # (self) - # nixosConfigurations.NOlaptop - # ; - x86_64-linux.NOlaptop = self.nixosConfigurations.NOlaptop.config.system.build.toplevel; - }; nixosConfigurations = { NOcomputer = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; diff --git a/systems/NOcomputer.nix b/systems/NOcomputer.nix index 6b89c43..e342934 100644 --- a/systems/NOcomputer.nix +++ b/systems/NOcomputer.nix @@ -13,28 +13,6 @@ boot.kernel.sysctl."net.ipv4.ip_forward" = "1"; boot.kernel.sysctl."net.ipv6.conf.all.forwarding" = "1"; - nix.buildMachines = [ - { - hostName = "localhost"; - systems = ["x86_64-linux" "i686-linux"]; - supportedFeatures = ["big-parallel" "kvm" "nixos-test" "benchmark"]; - } - ]; - nix.extraOptions = '' - builders-use-substitutes = true - ''; - services.hydra = { - enable = true; - hydraURL = "http://localhost:3000"; - notificationSender = "hydra@localhost"; - useSubstitutes = true; - }; - nix.settings.allowed-uris = [ - "github:" - "git+https://github.com/" - "git+ssh://github.com/" - ]; - # services.foldingathome = { # enable = true; # team = 223518;