From 6691cc402da71a8c892780aa7e13c2e8c6a88498 Mon Sep 17 00:00:00 2001 From: robert jakub Date: Wed, 30 Oct 2024 08:13:25 +0100 Subject: [PATCH] remove private cache --- uconsole/configs/local.nix | 23 ++++++----------------- 1 file changed, 6 insertions(+), 17 deletions(-) diff --git a/uconsole/configs/local.nix b/uconsole/configs/local.nix index 184e616..36d3422 100644 --- a/uconsole/configs/local.nix +++ b/uconsole/configs/local.nix @@ -1,31 +1,20 @@ {pkgs, ...}: { - nix.distributedBuilds = true; - nix.buildMachines = [ - { - hostName = "red"; - systems = ["aarch64-linux"]; - maxJobs = 24; - speedFactor = 30; - supportedFeatures = ["nixos-test" "benchmark" "big-parallel" "kvm"]; - protocol = "ssh-ng"; - } - ]; + nix.distributedBuilds = false; nix.settings = { - substituters = ["https://cache-nix.project2.xyz/uconsole" "https://nixcache.trustno1.corp/"]; + substituters = ["https://cache-nix.project2.xyz/uconsole"]; trusted-substituters = ["https://cache-nix.project2.xyz/uconsole"]; trusted-public-keys = ["uconsole:t2pv3NWEtXCYY0fgv9BB8r9tRdK+Tz7HYhGq9bXIIck="]; experimental-features = ["nix-command" "flakes"]; }; - services.openssh.enable = true; - users.users.oom = { - isNormalUser = true; - extraGroups = ["wheel"]; - }; environment.systemPackages = [ pkgs.vim pkgs.alejandra pkgs.mc ]; boot.supportedFilesystems.zfs = false; + users.users.oom = { + isNormalUser = true; + extraGroups = ["wheel"]; + }; }