hosts/marisa: random changes

Signed-off-by: natto1784 <natto@weirdnatto.in>
This commit is contained in:
2022-10-27 01:33:17 +05:30
parent e8120c9a57
commit 661910f8d6
12 changed files with 144 additions and 131 deletions

13
modules/cachix.nix Normal file
View File

@@ -0,0 +1,13 @@
# WARN: this file will get overwritten by $ cachix use <name>
{ pkgs, lib, ... }:
let
folder = ./cachix;
toImport = name: value: folder + ("/" + name);
filterCaches = key: value: value == "regular" && lib.hasSuffix ".nix" key;
imports = lib.mapAttrsToList toImport (lib.filterAttrs filterCaches (builtins.readDir folder));
in {
inherit imports;
nix.binaryCaches = ["https://cache.nixos.org/"];
}

View File

@@ -0,0 +1,11 @@
{
nix = {
binaryCaches = [
"https://natto1784.cachix.org"
];
binaryCachePublicKeys = [
"natto1784.cachix.org-1:DbCN+AvnAVEm2N1RDDv0vzLheX6U6gfzoCzNOYrZ3NQ="
];
};
}

11
modules/cachix/pain.nix Normal file
View File

@@ -0,0 +1,11 @@
{
nix = {
binaryCaches = [
"https://pain.cachix.org"
];
binaryCachePublicKeys = [
"pain.cachix.org-1:PDnZmOIBtBz8Z3a8t6TyOOUfnrlk0O6e7C8bnkKaK70="
];
};
}

11
modules/cachix/rpi4.nix Normal file
View File

@@ -0,0 +1,11 @@
{
nix = {
binaryCaches = [
"https://rpi4.cachix.org"
];
binaryCachePublicKeys = [
"rpi4.cachix.org-1:fMaYBuIlj/Sa9YTXnXMXoXnVZEoVhnFxOkxseKKlku8="
];
};
}

View File

@@ -1,7 +1,7 @@
{config, ...}:
{
nix.buildMachines = [ {
hostName = "Satori";
hostName = "satori";
systems = ["x86_64-linux" "aarch64-linux"];
maxJobs = 4;
speedFactor = 2;