From 66fb506e26e096f4ed1be0f14b5a736612ed83e5 Mon Sep 17 00:00:00 2001 From: Dennis <52411861+DerDennisOP@users.noreply.github.com> Date: Sat, 3 Feb 2024 22:00:35 +0100 Subject: [PATCH] remove sieve script# (#62) --- flake.nix | 6 +++--- systems/palatine-hill/configuration.nix | 17 ++++++++++++++--- 2 files changed, 17 insertions(+), 6 deletions(-) diff --git a/flake.nix b/flake.nix index a01b41b..f5f7dbc 100644 --- a/flake.nix +++ b/flake.nix @@ -5,6 +5,7 @@ substituters = [ "https://cache.alicehuston.xyz" "https://cache.nixos.org" "https://nix-community.cachix.org" ]; trusted-substituters = [ "https://cache.alicehuston.xyz" "https://cache.nixos.org" "https://nix-community.cachix.org" ]; trusted-public-keys = [ "cache.alicehuston.xyz:SJAm8HJVTWUjwcTTLAoi/5E1gUOJ0GWum2suPPv7CUo=%" "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" ]; + trusted-users = [ "root" ]; }; inputs = { @@ -241,7 +242,7 @@ } // lib.mapAttrs (__: lib.mapAttrs (_: lib.hydraJob)) ( let - mkBuild = (type: + mkBuild = type: let getBuildEntryPoint = name: nixosSystem: if builtins.hasAttr type nixosSystem.config.system.build then @@ -254,8 +255,7 @@ cfg else { }; in - lib.filterAttrs (n: v: v != { }) (lib.mapAttrs getBuildEntryPoint self.nixosConfigurations) - ); + lib.filterAttrs (n: v: v != { }) (lib.mapAttrs getBuildEntryPoint self.nixosConfigurations); in builtins.listToAttrs (map (type: { diff --git a/systems/palatine-hill/configuration.nix b/systems/palatine-hill/configuration.nix index 87c4de3..59960ad 100644 --- a/systems/palatine-hill/configuration.nix +++ b/systems/palatine-hill/configuration.nix @@ -10,9 +10,20 @@ kernelParams = [ "i915.force_probe=56a5" "i915.enable_guc=2" ]; }; - nix.extraOptions = '' - allowed-uris = github: gitlab: git+https:// git+ssh:// https:// - ''; + nix = { + extraOptions = '' + allowed-uris = github: gitlab: git+https:// git+ssh:// https:// + ''; + + buildMachines = [{ + hostName = "localhost"; + maxJobs = 2; + protocol = "ssh-ng"; + speedFactor = 2; + supportedFeatures = [ "kvm" "nixos-test" "big-parallel" "benchmark" ]; + system = "x86_64-linux"; + }]; + }; nixpkgs.config.packageOverrides = pkgs: { vaapiIntel = pkgs.vaapiIntel.override { enableHybridCodec = true; }; };