forked from natto1784/dotfiles
hosts/marisa: random changes
Signed-off-by: natto1784 <natto@weirdnatto.in>
This commit is contained in:
13
modules/cachix.nix
Normal file
13
modules/cachix.nix
Normal 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/"];
|
||||
}
|
||||
11
modules/cachix/natto1784.nix
Normal file
11
modules/cachix/natto1784.nix
Normal 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
11
modules/cachix/pain.nix
Normal file
@@ -0,0 +1,11 @@
|
||||
|
||||
{
|
||||
nix = {
|
||||
binaryCaches = [
|
||||
"https://pain.cachix.org"
|
||||
];
|
||||
binaryCachePublicKeys = [
|
||||
"pain.cachix.org-1:PDnZmOIBtBz8Z3a8t6TyOOUfnrlk0O6e7C8bnkKaK70="
|
||||
];
|
||||
};
|
||||
}
|
||||
11
modules/cachix/rpi4.nix
Normal file
11
modules/cachix/rpi4.nix
Normal file
@@ -0,0 +1,11 @@
|
||||
|
||||
{
|
||||
nix = {
|
||||
binaryCaches = [
|
||||
"https://rpi4.cachix.org"
|
||||
];
|
||||
binaryCachePublicKeys = [
|
||||
"rpi4.cachix.org-1:fMaYBuIlj/Sa9YTXnXMXoXnVZEoVhnFxOkxseKKlku8="
|
||||
];
|
||||
};
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
{config, ...}:
|
||||
{
|
||||
nix.buildMachines = [ {
|
||||
hostName = "Satori";
|
||||
hostName = "satori";
|
||||
systems = ["x86_64-linux" "aarch64-linux"];
|
||||
maxJobs = 4;
|
||||
speedFactor = 2;
|
||||
|
||||
Reference in New Issue
Block a user